changeset 28427:1bc2c4930162

Do not hardcode HAVE_DOS_PATHS, set it by OS instead.
author diego
date Wed, 04 Feb 2009 18:22:28 +0000
parents 7da4019dd701
children 8df00b0c4f0d
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Feb 03 12:20:18 2009 +0000
+++ b/configure	Wed Feb 04 18:22:28 2009 +0000
@@ -718,6 +718,7 @@
 _rpath=no
 _asmalign_pot=auto
 _stream_cache=yes
+def_dos_paths="#define HAVE_DOS_PATHS 0"
 _def_stream_cache="#define CONFIG_STREAM_CACHE 1"
 _def_pthread_cache="#undef PTHREAD_CACHE"
 _need_shmem=yes
@@ -1432,6 +1433,7 @@
   _ld_extra="$_ld_extra -lwinmm"
   _pe_executable=yes
   _timer=timer-win2.c
+  def_dos_paths="#define HAVE_DOS_PATHS 1"
 fi
 
 if mingw32 ; then
@@ -1454,6 +1456,7 @@
   _exesuf=".exe"
   _getch=getch2-os2.c
   _need_shmem=no
+  def_dos_paths="#define HAVE_DOS_PATHS 1"
 fi
 
 for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
@@ -8572,6 +8575,7 @@
 
 $def_bswap
 $_def_dcbzl
+$def_dos_paths
 $def_fast_64bit
 $_def_fast_unaligned
 $_def_memalign_hack
@@ -8596,7 +8600,6 @@
 #else
 #define HAVE_ARPA_INET_H 1
 #endif
-#define HAVE_DOS_PATHS 0
 #define HAVE_POLL_H 1
 #define HAVE_PPC4XX 0