changeset 22039:cb8cf313ce0b

Move platform-specific stuff together.
author diego
date Sun, 28 Jan 2007 22:31:53 +0000
parents 2f2dab18d868
children 4b808264eb0c
files configure
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sun Jan 28 22:27:05 2007 +0000
+++ b/configure	Sun Jan 28 22:31:53 2007 +0000
@@ -690,6 +690,12 @@
   _ranlib='true'
 fi
 
+if win32 ; then
+  _exesuf=".exe"
+  # -lwinmm is always needed for osdep/timer-win2.c
+  _ld_extra="$_ld_extra -lwinmm"
+fi
+
 # Check how to call 'head' and 'tail'. Newer versions spit out warnings
 # if used as 'head -1' instead of 'head -n 1', but older versions don't
 # know about '-n'.
@@ -2263,11 +2269,6 @@
 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer"
 test -z "$_libdir" && _libdir="$_prefix/lib"
 
-# For lack of a better place to put platform-specific stuff ..
-win32 && _exesuf=".exe"
-# -lwinmm is always needed for osdep/timer-win2.c
-win32 && _ld_extra="$_ld_extra -lwinmm"
-
 
 if x86_32 ; then
   # Checking assembler (_as) compatibility...