gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ./ChangeLog macros/gtk2.m4


From: Sandro Santilli
Subject: [Gnash-commit] gnash ./ChangeLog macros/gtk2.m4
Date: Wed, 10 May 2006 08:54:49 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Sandro Santilli <address@hidden>        06/05/10 08:54:49

Modified files:
        .              : ChangeLog 
        macros         : gtk2.m4 

Log message:
        * macros/gtk2.m4: fixed handling of --with-gtk2-lib

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/ChangeLog.diff?tr1=1.293&tr2=1.294&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/macros/gtk2.m4.diff?tr1=1.10&tr2=1.11&r1=text&r2=text

Patches:
Index: gnash/ChangeLog
diff -u gnash/ChangeLog:1.293 gnash/ChangeLog:1.294
--- gnash/ChangeLog:1.293       Wed May 10 01:45:50 2006
+++ gnash/ChangeLog     Wed May 10 08:54:48 2006
@@ -1,3 +1,7 @@
+2006-05-10 Sandro Santilli <address@hidden>
+
+       * macros/gtk2.m4: fixed handling of --with-gtk2-lib
+
 2006-05-10 Bastiaan Jacques <address@hidden>
 
        * gui/gnash.cpp: Remove unused includes and do small cleanups.
Index: gnash/macros/gtk2.m4
diff -u gnash/macros/gtk2.m4:1.10 gnash/macros/gtk2.m4:1.11
--- gnash/macros/gtk2.m4:1.10   Wed May 10 01:10:06 2006
+++ gnash/macros/gtk2.m4        Wed May 10 08:54:49 2006
@@ -103,16 +103,15 @@
   fi
 
     dnl Look for the library
-  AC_ARG_WITH(gtk2_lib, [  --with-gtk2-lib         directory where gtk2 
library is], with_gtk2_lib=${withval})
-    AC_CACHE_VAL(ac_cv_path_gtk2_lib,[
-    if test x"${with_gtk2_lib}" != x ; then
-      if test -f ${with_gtk2_lib}/libgtkgtk2-x11-${version}.a -o -f 
${with_gtk2_lib}/libgtkgtk2-x11-${version}.so; then
-        ac_cv_path_gtk2_lib=`(cd ${with_gtk2_incl}; pwd)`
-      else
-        AC_MSG_ERROR([${with_gtk2_lib} directory doesn't contain libgtk2.])
-      fi
-    fi
-  ])
+  AC_ARG_WITH(gtk2_lib,
+       [  --with-gtk2-lib         directory where gtk2 library is],
+       with_gtk2_lib=${withval})
+
+       if test x"${with_gtk2_lib}" = x; then
+               AC_MSG_ERROR([${with_gtk2_lib} directory doesn't contain 
libgtk2.])
+       fi
+
+    AC_CACHE_VAL(ac_cv_path_gtk2_lib, [ ac_cv_path_gtk2_lib=${with_gtk2_lib}])
 
 dnl If the header doesn't exist, there is no point looking for
 dnl the library. 




reply via email to

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