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 if test "$JAVA" = "true"; then
27 if test "$PYTHON" = "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 sed -e 's|osrf|@abs_top_srcdir@/src/python/osrf|g' \
52 -e 's|srfsh\.py|@abs_top_srcdir@/src/python/srfsh.py|g' @srcdir@/src/python/setup.py.in > @srcdir@/src/python/setup.py
57 echo "------------------------------------------------------------"
59 echo " Shows configuration of opensrf "
60 echo "------------------------------------------------------------"
62 echo "Usage: osrf_config [--option]"
66 echo "--help displays help"
67 echo "--version displays version number of osrf"
68 echo "--installed displays options that were installed"
69 echo "--prefix displays prefix"
70 echo "--bindir displays bindir"
71 echo "--libdir displays libdir"
72 echo "--tmp displays tmp"
73 echo "--includedir displays includedir"
74 echo "--sysconfdir displays sysconfdir"
75 echo "--apxs displays location of apxs"
76 echo "--apache displays location of apache2 headers"
77 echo "--apr displays location of apr headers"
78 echo "--libxml displays location of libxml2 headers"
89 echo @LIBXML2_HEADERS@;
95 echo @APACHE2_HEADERS@;
101 echo @PACKAGE_STRING@;
113 echo @localstatedir@;