X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c1d5d5ae212f255662264677d21c7139f4c939d..075386e6e7aca053bd1d77a8e6750798380d0787:/acinclude.m4 diff --git a/acinclude.m4 b/acinclude.m4 index ffc9df8c09..9247f1d107 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -33,7 +33,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_INCLUDES], [ ac_find_includes= -for ac_dir in $1 /usr/include; +for ac_dir in $1 /usr/include do if test -f "$ac_dir/$2"; then ac_find_includes=$ac_dir @@ -49,7 +49,7 @@ dnl --------------------------------------------------------------------------- AC_DEFUN([WX_PATH_FIND_LIBRARIES], [ ac_find_libraries= - for ac_dir in $1; + for ac_dir in $1 do for ac_extension in a so sl dylib dll.a; do if test -f "$ac_dir/lib$2.$ac_extension"; then @@ -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