# HG changeset patch # User diego # Date 1170023513 0 # Node ID cb8cf313ce0b2a115ab06370f6446344145bca54 # Parent 2f2dab18d868e4f81102599290f18998b6cfe277 Move platform-specific stuff together. diff -r 2f2dab18d868 -r cb8cf313ce0b configure --- 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...