From 33e2a4e0791bf1cb5407b592f79bbf3d8edf6ff6 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" Date: Fri, 6 May 2005 19:04:46 +0000 Subject: [PATCH] Make sure WINSUPPORT goes into config.h --- config.h.in | 1 + configure | 22 +++++++++++++--------- configure.in | 1 + 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/config.h.in b/config.h.in index e7df8b1f1..003d5ec0b 100644 --- a/config.h.in +++ b/config.h.in @@ -29,6 +29,7 @@ #undef LOG_TESTBED #undef EVENTSERVER #undef BOSSEVENTPORT +#undef WINSUPPORT #undef HAVE_SRANDOMDEV diff --git a/configure b/configure index 96cb1b502..4ec39e60a 100755 --- a/configure +++ b/configure @@ -1904,6 +1904,10 @@ else os/imagezip/ntfs/libntfs/GNUmakefile \ os/imagezip/fat/GNUmakefile" optional_subdirs="$optional_subdirs"; + cat >> confdefs.h <&6 -echo "configure:1919: checking for $ac_hdr" >&5 +echo "configure:1923: 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:1929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1933: \"$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* @@ -1964,17 +1968,17 @@ for ac_hdr in linux/videodev.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1968: checking for $ac_hdr" >&5 +echo "configure:1972: 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:1978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1982: \"$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* @@ -2007,7 +2011,7 @@ done # Extract the first word of "gtk-config", so it can be a program name with args. set dummy gtk-config; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2011: checking for $ac_word" >&5 +echo "configure:2015: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GTK_CONFIG'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2086,7 +2090,7 @@ fi # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:2090: checking for a BSD compatible install" >&5 +echo "configure:2094: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -2147,7 +2151,7 @@ esac # Extract the first word of "rsync", so it can be a program name with args. set dummy rsync; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2151: checking for $ac_word" >&5 +echo "configure:2155: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_path_RSYNC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else diff --git a/configure.in b/configure.in index 6d749b29e..9fdff019c 100755 --- a/configure.in +++ b/configure.in @@ -563,6 +563,7 @@ else os/imagezip/ntfs/libntfs/GNUmakefile \ os/imagezip/fat/GNUmakefile" optional_subdirs="$optional_subdirs"; + AC_DEFINE_UNQUOTED(WINSUPPORT, 1) fi -- GitLab