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

[XaraXtreme-dev] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 696
Date       : Mon Mar 20 17:29:37 GMT 2006

Changed paths:
   M /Trunk/XaraLX/configure.in

Modifiy GTK detection to work on Darwin


Diff:
Index: Trunk/XaraLX/configure.in
===================================================================
--- Trunk/XaraLX/configure.in	(revision 695)
+++ Trunk/XaraLX/configure.in	(revision 696)
@@ -122,8 +122,9 @@
 	WXRC="`$WXCONFIG --utility=wxrc`"
 	
 	# See if we are running on GTK
-	WX_GTK=`if [[[ $WX_CPPFLAGS == *__WXGTK__* ]]]; then echo yes ; else echo no ; fi`
-	if test "$WX_GTK" = "yes" ; then
+	WX_GTK="no"
+	if test `echo $WX_CPPFLAGS | grep *__WXGTK__*`; then 
+		WX_GTK="yes"
 		PKG_CHECK_MODULES(GTK, [gtk+-2.0])
 	fi
 


Xara