[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r12021: Don't ignore --with-glib-inc
From: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r12021: Don't ignore --with-glib-incl. |
Date: |
Thu, 11 Mar 2010 17:48:35 +0100 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 12021
committer: Bastiaan Jacques <address@hidden>
branch nick: trunk
timestamp: Thu 2010-03-11 17:48:35 +0100
message:
Don't ignore --with-glib-incl.
modified:
macros/glib.m4
=== modified file 'macros/glib.m4'
--- a/macros/glib.m4 2010-01-01 17:48:26 +0000
+++ b/macros/glib.m4 2010-03-11 16:48:35 +0000
@@ -22,7 +22,9 @@
AC_CACHE_VAL(ac_cv_path_glib_incl,[
if test x"${with_glib_incl}" != x ; then
if test -f ${with_glib_incl}/glib.h ; then
- ac_cv_path_glib_incl="-I`(cd ${with_glib_incl}; pwd)`"
+ ac_cv_path_glib_incl="-I`(cd ${with_glib_incl}; pwd)`"
+ gnash_glib_topdir=`basename ${with_glib_incl}`
+ gnash_glib_version=`echo ${gnash_glib_topdir} | sed -e 's:glib-::'`
else
AC_MSG_ERROR([${with_glib_incl} directory doesn't contain glib.h])
fi
@@ -41,7 +43,7 @@
dnl version number attached. At least on Debain based systems, this
dnl doesn't seem to get a directory that is unversioned.
AC_MSG_CHECKING([for Glib header])
- if test x"${gnash_glib_version}" = x; then
+ if test x"${ac_cv_path_glib_incl}" = x -a x"${gnash_glib_version}" = x; then
gnash_glib_topdir=""
gnash_glib_version=""
for i in $incllist; do
@@ -59,11 +61,12 @@
done
done
fi
- if test x"${ac_cv_path_glib_incl}" = x; then
- AC_MSG_RESULT(no)
- else
- AC_MSG_RESULT(${ac_cv_path_glib_incl})
- fi
+
+ if test x"${ac_cv_path_glib_incl}" = x; then
+ AC_MSG_RESULT(no)
+ else
+ AC_MSG_RESULT(${ac_cv_path_glib_incl})
+ fi
dnl Look for the library
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r12021: Don't ignore --with-glib-incl.,
Bastiaan Jacques <=