3 # Copyright (C) 2008 Equinox Software, Inc.
4 # Kevin Beswick <kevinbeswick00@gmail.com>
5 # Copyright (C) 2010 Laurentian University
6 # Dan Scott <dscott@laurentian.ca>
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
19 # Shows configuration options of OpenSRF
22 exec_prefix=@exec_prefix@
23 datarootdir=@datarootdir@
26 JAVA=@OSRF_INSTALL_JAVA@
27 PYTHON=@OSRF_INSTALL_PYTHON@
28 if test "$JAVA" = "true"; then
31 if test "$PYTHON" = "true"; then
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 " Display the configuration options for this OpenSRF install "
58 echo "------------------------------------------------------------"
60 echo "Usage: osrf_config [--option]"
64 echo "--help displays help"
65 echo "--version displays version number of OpenSRF"
66 echo "--installed displays options that were chosen at install time"
68 echo "--apache displays location of Apache headers"
69 echo "--apr displays location of Apache portable runtime headers"
70 echo "--apxs displays location of Apache extension tool"
71 echo "--bindir displays location of binary executables"
72 echo "--includedir displays location of header files"
73 echo "--libdir displays location of libraries"
74 echo "--libxml displays location of libxml2 headers"
75 echo "--localstatedir displays location of state information"
76 echo "--prefix displays install prefix"
77 echo "--sysconfdir displays location of configuration files"
78 echo "--tmp displays location of temporary files"
89 echo @LIBXML2_HEADERS@
95 echo @APACHE2_HEADERS@
101 echo @PACKAGE_STRING@