diff options
author | bje <bje> | 1998-10-03 04:34:47 +0000 |
---|---|---|
committer | bje <bje> | 1998-10-03 04:34:47 +0000 |
commit | d959f43a2226cb141cfab2e939e837423f152ff5 (patch) | |
tree | 756e4638e4c52dfa32c475b12ebc005d7ca095e3 /configure | |
parent | 42fa8e0dc950a232993087c400c8f55d7eb47ba1 (diff) |
Correct oversight in AC_DEFINE logic.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -967,23 +967,28 @@ if test x$p32_cv_stdcall = xyes ; then #define STDCALL _stdcall EOF +else + cat >> confdefs.h <<\EOF +#define STDCALL +EOF + fi for ac_hdr in windows.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:977: checking for $ac_hdr" >&5 +echo "configure:982: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 982 "configure" +#line 987 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* |