[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/macros gnashpkgtool.m4
From: |
Markus Gothe |
Subject: |
[Gnash-commit] gnash/macros gnashpkgtool.m4 |
Date: |
Tue, 24 Oct 2006 01:26:59 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 06/10/24 01:26:59
Modified files:
macros : gnashpkgtool.m4
Log message:
Fixed a HUGE bug: only one dollar sign wheras therw should be two...
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/gnashpkgtool.m4?cvsroot=gnash&r1=1.5&r2=1.6
Patches:
Index: gnashpkgtool.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/gnashpkgtool.m4,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- gnashpkgtool.m4 24 Oct 2006 01:18:12 -0000 1.5
+++ gnashpkgtool.m4 24 Oct 2006 01:26:59 -0000 1.6
@@ -35,7 +35,7 @@
dnl
dnl
-dnl $Id: gnashpkgtool.m4,v 1.5 2006/10/24 01:18:12 nihilus Exp $
+dnl $Id: gnashpkgtool.m4,v 1.6 2006/10/24 01:26:59 nihilus Exp $
dnl Generic macros for finding and setting include-paths and library-path
dnl for packages. Implements GNASH_PKG_INCLUDES() and GNASH_PKG_LIBS()..
@@ -53,10 +53,8 @@
AC_MSG_ERROR([bad value ${enableval} for enable-$1 option]) ;;
esac], $1=yes)
-unset ac_cv_path_$1_incl
-
dnl Look for the header
-if test x"$1" = x"yes"; then
+if test x"${$1}" = x"yes"; then
AC_ARG_WITH($1_incl, AC_HELP_STRING([--with-$1-incl],
[Directory where $2 header is]), with_$1_incl=${withval})
AC_CACHE_VAL(ac_cv_path_$1_incl,[
if test x"${with_$1_incl}" != x ; then