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 Evergreen
21 datarootdir=@datarootdir@
23 function showInstalled {
24 if test "@BUILDILSCORE_TRUE@" = ""; then
27 if test "@BUILDILSWEB_TRUE@" = ""; then
30 if test "@BUILDILSREPORTER_TRUE@" = ""; then
33 if test "@BUILDILSCLIENT_TRUE@" = ""; then
36 if test "@BUILDEGJAVA_TRUE@" = ""; then
47 echo INCLUDEDIR=@includedir@
48 echo SYSCONFDIR=@sysconfdir@
50 echo LIBXML2_HEADERS=@LIBXML2_HEADERS@
52 echo "Installed modules:"
59 echo "------------------------------------------------------------"
61 echo " Shows configuration of evergreen "
62 echo "------------------------------------------------------------"
64 echo "Usage: eg_config [--option]"
68 echo "--help displays help"
69 echo "--version displays version number of evergreen"
70 echo "--installed displays options that were installed"
71 echo "--prefix displays prefix"
72 echo "--bindir displays bindir"
73 echo "--libdir displays libdir"
74 echo "--tmp displays tmp"
75 echo "--includedir displays includedir"
76 echo "--sysconfdir displays sysconfdir"
77 echo "--apxs displays location of apxs"
78 echo "--libxml displays location of libxml2 headers"
89 echo @LIBXML2_HEADERS@;
95 echo @APACHE2_HEADERS@;
101 echo @PACKAGE_STRING@;
113 echo @localstatedir@;