aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome.m4
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@src.gnome.org>1998-02-14 05:03:03 +0800
committerRaja R Harinath <harinath@src.gnome.org>1998-02-14 05:03:03 +0800
commitacdf11ced0111755082a56eb29919c2bd778ded4 (patch)
tree6ed51511b7486df0e9a5ad29cf2546bff51168f1 /macros/gnome.m4
parent797154c3364841510e333e03af18dc4a0121a06b (diff)
downloadgsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar.gz
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar.bz2
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar.lz
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar.xz
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.tar.zst
gsoc2013-evolution-acdf11ced0111755082a56eb29919c2bd778ded4.zip
Look for gnomeConf.sh in $libdir, where the installation actually installs
* gnome.m4 (GNOME_INIT): Look for gnomeConf.sh in $libdir, where the installation actually installs it. - Hari svn path=/trunk/; revision=24
Diffstat (limited to 'macros/gnome.m4')
-rw-r--r--macros/gnome.m419
1 files changed, 12 insertions, 7 deletions
diff --git a/macros/gnome.m4 b/macros/gnome.m4
index b0dccf7a86..f3fae839ee 100644
--- a/macros/gnome.m4
+++ b/macros/gnome.m4
@@ -11,13 +11,17 @@ AC_DEFUN([GNOME_INIT],
AC_SUBST(GNOME_LIBS)
AC_SUBST(GNOMEUI_LIBS)
AC_SUBST(GTKXMHTML_LIBS)
- AC_SUBST(GNOMELIB_DIR)
- AC_SUBST(GNOMEINCLUDE_DIR)
+ AC_SUBST(GNOME_LIBDIR)
+ AC_SUBST(GNOME_INCLUDEDIR)
- if test x$prefix = xNONE; then
- gnome_prefix=$ac_default_prefix/lib
+ if test x$exec_prefix = xNONE; then
+ if test x$prefix = xNONE; then
+ gnome_prefix=$ac_default_prefix/lib
+ else
+ gnome_prefix=$prefix/lib
+ fi
else
- gnome_prefix=$prefix/lib
+ gnome_prefix=`eval echo \`echo $libdir\``
fi
AC_ARG_WITH(gnome-includes,
@@ -39,12 +43,13 @@ AC_DEFUN([GNOME_INIT],
])
- AC_MSG_CHECKING(for gnomeConf.sh file)
- if test -e $gnome_prefix/gnomeConf.sh; then
+ AC_MSG_CHECKING(for gnomeConf.sh file in $gnome_prefix)
+ if test -f $gnome_prefix/gnomeConf.sh; then
AC_MSG_RESULT(found)
echo "loading gnome configuration from $gnome_prefix/gnomeConf.sh"
. $gnome_prefix/gnomeConf.sh
else
+ AC_MSG_RESULT(not found)
AC_MSG_ERROR(Could not find the gnomeConf.sh file that is generated by gnome-libs install)
fi
])