]> git.saurik.com Git - wxWidgets.git/blobdiff - acinclude.m4
Improve error messages from wxImage::LoadFile().
[wxWidgets.git] / acinclude.m4
index ffc9df8c09478771ac9bf63c099da494b8b13453..13973994d3860388908f83424b5759a10f0f1a20 100644 (file)
@@ -247,7 +247,7 @@ AC_DEFUN([WX_CHECK_FUNCS],
 
     if eval test \$wx_cv_func_$wx_func = yes
     then
-      AC_DEFINE_UNQUOTED([AS_TR_CPP([HAVE_$wx_func])])
+      AC_DEFINE_UNQUOTED(AS_TR_CPP([HAVE_$wx_func]))
       $2
     else
       :
@@ -423,10 +423,10 @@ AC_DEFUN([WX_ARG_ENABLE],
           eval "$AS_TR_SH(wx_cv_use_$1)"
 
           if test x"$enablestring" = xdisable; then
-            if test $$3 = yes; then
-              result=no
-            else
+            if test $$3 = no; then
               result=yes
+            else
+              result=no
             fi
           else
             result=$$3