gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/macros gnashpkgtool.m4


From: Rob Savoye
Subject: [Gnash-commit] gnash/macros gnashpkgtool.m4
Date: Mon, 26 May 2008 09:22:51 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Rob Savoye <rsavoye>    08/05/26 09:22:51

Modified files:
        macros         : gnashpkgtool.m4 

Log message:
                * macros/gnashpkgtool.m4: Don't ever allow /usr/include for 
header
                files. This allows mingw32 to cross compile on unix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/macros/gnashpkgtool.m4?cvsroot=gnash&r1=1.49&r2=1.50

Patches:
Index: gnashpkgtool.m4
===================================================================
RCS file: /sources/gnash/gnash/macros/gnashpkgtool.m4,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -b -r1.49 -r1.50
--- gnashpkgtool.m4     30 Mar 2008 18:23:20 -0000      1.49
+++ gnashpkgtool.m4     26 May 2008 09:22:50 -0000      1.50
@@ -131,7 +131,7 @@
       dnl do this automatically. AC_CHECK_HEADERS (not the final S) would do 
it.
       AC_DEFINE([HAVE_]UPHEADER, 1, [Define if you have the $2 header])
 
-      if test x"${ac_cv_path_$1_incl}" != x ; then
+      if test x"${ac_cv_path_$1_incl}" != x -a x"${ac_cv_path_$1_incl}" != 
x"-I/usr/include"; then
         UP[]_CFLAGS="${ac_cv_path_$1_incl}"
       else
         UP[]_CFLAGS=""




reply via email to

[Prev in Thread] Current Thread [Next in Thread]