1 # Copyright (C) 2008 Equinox Software, Inc.
2 # Kevin Beswick <kevinbeswick00@gmail.com>
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; either version 2
7 # of the License, or (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
15 # Shows configuration options of OSRF
19 datarootdir=@datarootdir@
21 function showInstalled {
22 JAVA=@OSRF_INSTALL_JAVA@
23 PYTHON=@OSRF_INSTALL_PYTHON@
24 JSON=@OSRF_LEGACY_JSON@
25 if test "$JAVA" = "true"; then
28 if test "$PYTHON" = "true"; then
31 if test "$JSON" = "true"; then
32 echo "OSRF_LEGACY_JSON"
42 echo INCLUDEDIR=@includedir@
43 echo SYSCONFDIR=@sysconfdir@
45 echo APACHE2_HEADERS=@APACHE2_HEADERS@
46 echo APR_HEADERS=@APR_HEADERS@
47 echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
49 echo "Installed modules:"
55 echo "------------------------------------------------------------"
57 echo " Shows configuration of opensrf "
58 echo "------------------------------------------------------------"
60 echo "Usage: osrf_config [--option]"
64 echo "--help displays help"
65 echo "--version displays version number of osrf"
66 echo "--installed displays options that were installed"
67 echo "--prefix displays prefix"
68 echo "--bindir displays bindir"
69 echo "--libdir displays libdir"
70 echo "--tmp displays tmp"
71 echo "--includedir displays includedir"
72 echo "--sysconfdir displays sysconfdir"
73 echo "--apxs displays location of apxs"
74 echo "--apache displays location of apache2 headers"
75 echo "--apr displays location of apr headers"
76 echo "--libxml displays location of libxml2 headers"
85 echo @LIBXML2_HEADERS@;
91 echo @APACHE2_HEADERS@;
97 echo @PACKAGE_STRING@;
109 echo @localstatedir@;