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 Evergreen
19 datarootdir=@datarootdir@
21 function showInstalled {
22 if test "@BUILDILSCORE_TRUE@" = ""; then
25 if test "@BUILDILSWEB_TRUE@" = ""; then
28 if test "@BUILDILSREPORTER_TRUE@" = ""; then
31 if test "@BUILDILSCLIENT_TRUE@" = ""; then
34 if test "@BUILDEGJAVA_TRUE@" = ""; then
37 if test "@BUILDEGPYTHON_TRUE@" = ""; then
50 echo INCLUDEDIR=@includedir@
51 echo SYSCONFDIR=@sysconfdir@
53 echo APACHE2_HEADERS=@APACHE2_HEADERS@
54 echo APR_HEADERS=@APR_HEADERS@
55 echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
57 echo "Installed modules:"
64 echo "------------------------------------------------------------"
66 echo " Shows configuration of evergreen "
67 echo "------------------------------------------------------------"
69 echo "Usage: eg_config [--option]"
73 echo "--help displays help"
74 echo "--version displays version number of evergreen"
75 echo "--installed displays options that were installed"
76 echo "--prefix displays prefix"
77 echo "--bindir displays bindir"
78 echo "--libdir displays libdir"
79 echo "--tmp displays tmp"
80 echo "--includedir displays includedir"
81 echo "--sysconfdir displays sysconfdir"
82 echo "--apxs displays location of apxs"
83 echo "--apache displays location of apache2 headers"
84 echo "--apr displays location of apr headers"
85 echo "--libxml displays location of libxml2 headers"
96 echo @LIBXML2_HEADERS@;
102 echo @APACHE2_HEADERS@;
108 echo @PACKAGE_STRING@;
120 echo @localstatedir@;