summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 00:13:33 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-08 00:13:33 +0000
commit78a3bf6c9b7d253dddcbea4da066b4b8a3999745 (patch)
treee468b47dd02ed32100f970a3b35ccfd50143dfc2 /configure
parent5cc6005c86b2988f1cb1f6b0910dce1e2eb30075 (diff)
downloadmpv-78a3bf6c9b7d253dddcbea4da066b4b8a3999745.tar.bz2
mpv-78a3bf6c9b7d253dddcbea4da066b4b8a3999745.tar.xz
Create binaries with proper executable suffix under Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20771 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 5 insertions, 12 deletions
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