From 78a3bf6c9b7d253dddcbea4da066b4b8a3999745 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 8 Nov 2006 00:13:33 +0000 Subject: Create binaries with proper executable suffix under Windows. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20771 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'configure') diff --git a/configure b/configure index c0c06b5c58..8cea53bc00 100755 --- a/configure +++ b/configure @@ -2200,6 +2200,10 @@ test -z "$_mandir" && _mandir="$_prefix/man" 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 @@ if test "$_vidix_internal" = auto ; then 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 @@ STRIPBINARIES = $_stripbinaries CHARSET = $_charset HELP_FILE = $_mp_help -PRG = $_prg -PRG_MENCODER = $_prg_mencoder +EXESUF = $_exesuf MPLAYER_NETWORK = $_network FTP = $_ftp -- cgit v1.2.3