diff --git a/config.h.in b/config.h.in index e7df8b1f1ad3c67eb2dea5c838a931aa8bd4b8cd..003d5ec0b5ba502c6c98c68e955c223ebe6b8c8f 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 96cb1b502e77b7c1b2c39b766931e8267e48482f..4ec39e60aa89c71c087c7fd62d389b24b1d311c2 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 6d749b29e8993743296697d57f1bc7479811cb0f..9fdff019c20a9c8c2ecc99959bfac2a833f91064 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