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
39 if test "@BUILDEGPYTHON_TRUE@" = ""; then
52 echo INCLUDEDIR=@includedir@
53 echo SYSCONFDIR=@sysconfdir@
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 "--libxml displays location of libxml2 headers"
94 echo @LIBXML2_HEADERS@;
100 echo @APACHE2_HEADERS@;
106 echo @PACKAGE_STRING@;
118 echo @localstatedir@;