Update of /cvsroot/sharedaemon/ui-wx
In directory sc8-pr-cvs1:/tmp/cvs-serv11028
Modified Files:
configure
Log Message:
Fixed `which` output and added -D__GTK2__ if linkined against GTK2
Index: configure
===================================================================
RCS file: /cvsroot/sharedaemon/ui-wx/configure,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- configure 19 Dec 2003 23:50:11 -0000 1.7
+++ configure 20 Dec 2003 08:51:28 -0000 1.8
@@ -161,7 +161,7 @@
echo -n -e "checking for wx-config... \t\t\t";
if test -x $wxconfig; then
wxconfig=$wxconfig;
- elif test -x `which wx-config`; then
+ elif test -x `which wx-config 2>/dev/null`; then
wxconfig=`which wx-config`;
elif test -x /usr/local/bin/wx-config; then
wxconfig=/usr/local/bin/wx-config;
@@ -241,6 +241,7 @@
echo -e "\t${colour_warning}Warning: GTK2 support in wxWindows is only experimental,${colour_default}";
echo -e "\t${colour_warning}thus it is not officially supported in this application${colour_default}";
echo -e "\t${colour_warning}either. You have been warned, continue on your own risc.${colour_default}";
+ cppflags="$cppflags -D__GTK2__"
else
echo -e "${colour_yes}no${colour_default}";
fi;
|