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