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 if test "$JAVA" = "true"; then
38 echo INCLUDEDIR=@includedir@
39 echo SYSCONFDIR=@sysconfdir@
41 echo APACHE2_HEADERS=@APACHE2_HEADERS@
42 echo APR_HEADERS=@APR_HEADERS@
43 echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
45 echo "Installed modules:"
51 echo "------------------------------------------------------------"
53 echo " Display the configuration options for this OpenSRF install "
54 echo "------------------------------------------------------------"
56 echo "Usage: osrf_config [--option]"
60 echo "--help displays help"
61 echo "--version displays version number of OpenSRF"
62 echo "--installed displays options that were chosen at install time"
64 echo "--apache displays location of Apache headers"
65 echo "--apr displays location of Apache portable runtime headers"
66 echo "--apxs displays location of Apache extension tool"
67 echo "--bindir displays location of binary executables"
68 echo "--includedir displays location of header files"
69 echo "--libdir displays location of libraries"
70 echo "--libxml displays location of libxml2 headers"
71 echo "--localstatedir displays location of state information"
72 echo "--prefix displays install prefix"
73 echo "--sysconfdir displays location of configuration files"
74 echo "--tmp displays location of temporary files"
85 echo @LIBXML2_HEADERS@
91 echo @APACHE2_HEADERS@