summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-04 18:22:28 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-04 18:22:28 +0000
commit8b2dc616ebf0d2ccf8def62494368c2c823c18eb (patch)
tree84e305e27abaffd48164383191328ee0f5d23879 /configure
parent09bf506c34a73d587c999ce161a0714159e1e5b6 (diff)
downloadmpv-8b2dc616ebf0d2ccf8def62494368c2c823c18eb.tar.bz2
mpv-8b2dc616ebf0d2ccf8def62494368c2c823c18eb.tar.xz
Do not hardcode HAVE_DOS_PATHS, set it by OS instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28462 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 461cda1a51..661a043a80 100755
--- a/configure
+++ b/configure
@@ -718,6 +718,7 @@ _ass=auto
_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 @@ if win32 ; then
_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 @@ if os2 ; then
_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_libswscale_so
$def_bswap
$_def_dcbzl
+$def_dos_paths
$def_fast_64bit
$_def_fast_unaligned
$_def_memalign_hack
@@ -8596,7 +8600,6 @@ $_def_yasm
#else
#define HAVE_ARPA_INET_H 1
#endif
-#define HAVE_DOS_PATHS 0
#define HAVE_POLL_H 1
#define HAVE_PPC4XX 0