From d959f43a2226cb141cfab2e939e837423f152ff5 Mon Sep 17 00:00:00 2001 From: bje Date: Sat, 3 Oct 1998 04:34:47 +0000 Subject: Correct oversight in AC_DEFINE logic. --- configure | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 3cea8d4..8cd92d5 100755 --- a/configure +++ b/configure @@ -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 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* -- cgit v1.2.3