diff configure @ 20755:b4c865e17155

Create binaries with proper executable suffix under Windows.
author diego
date Wed, 08 Nov 2006 00:13:33 +0000
parents 172fed37b456
children 289050a24c39
line wrap: on
line diff
--- a/configure	Wed Nov 08 00:11:42 2006 +0000
+++ b/configure	Wed Nov 08 00:13:33 2006 +0000
@@ -2200,6 +2200,10 @@
 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"
+
+
 if x86 ; then
   # Checking assembler (_as) compatibility...
   # Added workaround for older as that reads from stdin by default - atmos
@@ -2441,16 +2445,6 @@
   darwin && _vidix_internal=no
 fi
 
-echocheck "MPlayer binary name"
-if win32 ; then
-  _prg="mplayer.exe"
-  _prg_mencoder="mencoder.exe"
-else
-  _prg="mplayer"
-  _prg_mencoder="mencoder"
-fi
-echores $_prg
-
 
 # On QNX we must link to libph - Gabucino
 if qnx ; then
@@ -7356,8 +7350,7 @@
 CHARSET = $_charset
 HELP_FILE = $_mp_help
 
-PRG = $_prg
-PRG_MENCODER = $_prg_mencoder
+EXESUF = $_exesuf
 
 MPLAYER_NETWORK = $_network
 FTP = $_ftp