aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-23 10:41:38 +0000
committerLev Walkin <vlm@lionet.info>2004-08-23 10:41:38 +0000
commit5f869d00034f5a4c34cdbe251661f727576d273b (patch)
tree7b749eb06a3515ab0808e27b51da652099fb36b6 /configure
parentbec70d86fde35cf64c5aab5618a02beb3cafb2f3 (diff)
reconfigured
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 11 insertions, 6 deletions
diff --git a/configure b/configure
index 3b3c8233..99f212cf 100755
--- a/configure
+++ b/configure
@@ -21392,12 +21392,17 @@ if test "$LEX" = :; then
LEX=${am_missing_run}flex
fi
-case "$build" in
-*cygwin*)
- case "$target" in
- *mingw*)
- CC="$CC -mno-cygwin"
- esac ;;
+case "$host_os" in
+cygwin*)
+ CFLAGS="$CFLAGS -DWIN32"
+ case "$target" in
+ *mingw*)
+ CC="$CC -mno-cygwin"
+ esac
+ ;;
+mingw* | p32*)
+ CFLAGS="$CFLAGS -DWIN32"
+ ;;
esac
# Check whether --enable-autoconf or --disable-autoconf was given.