Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
20754:da4c2344a97c | 20755:b4c865e17155 |
---|---|
2198 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" | 2198 test -z "$_datadir" && _datadir="$_prefix/share/mplayer" |
2199 test -z "$_mandir" && _mandir="$_prefix/man" | 2199 test -z "$_mandir" && _mandir="$_prefix/man" |
2200 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" | 2200 test -z "$_confdir" && _confdir="$_prefix/etc/mplayer" |
2201 test -z "$_libdir" && _libdir="$_prefix/lib" | 2201 test -z "$_libdir" && _libdir="$_prefix/lib" |
2202 | 2202 |
2203 # For lack of a better place to put platform-specific stuff .. | |
2204 win32 && _exesuf=".exe" | |
2205 | |
2206 | |
2203 if x86 ; then | 2207 if x86 ; then |
2204 # Checking assembler (_as) compatibility... | 2208 # Checking assembler (_as) compatibility... |
2205 # Added workaround for older as that reads from stdin by default - atmos | 2209 # Added workaround for older as that reads from stdin by default - atmos |
2206 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'` | 2210 as_version=`echo '' | $_as -version 2>&1 | sed -n 's/^.*assembler \(version \)*\([0-9.]*\).*$/\2/p'` |
2207 echocheck "assembler ($_as $as_version)" | 2211 echocheck "assembler ($_as $as_version)" |
2438 qnx && _vidix_internal=no | 2442 qnx && _vidix_internal=no |
2439 sunos && _vidix_internal=no | 2443 sunos && _vidix_internal=no |
2440 beos && _vidix_internal=no | 2444 beos && _vidix_internal=no |
2441 darwin && _vidix_internal=no | 2445 darwin && _vidix_internal=no |
2442 fi | 2446 fi |
2443 | |
2444 echocheck "MPlayer binary name" | |
2445 if win32 ; then | |
2446 _prg="mplayer.exe" | |
2447 _prg_mencoder="mencoder.exe" | |
2448 else | |
2449 _prg="mplayer" | |
2450 _prg_mencoder="mencoder" | |
2451 fi | |
2452 echores $_prg | |
2453 | 2447 |
2454 | 2448 |
2455 # On QNX we must link to libph - Gabucino | 2449 # On QNX we must link to libph - Gabucino |
2456 if qnx ; then | 2450 if qnx ; then |
2457 _ld_arch="$_ld_arch -lph" | 2451 _ld_arch="$_ld_arch -lph" |
7354 OPTFLAGS = $CFLAGS \$(EXTRA_INC) | 7348 OPTFLAGS = $CFLAGS \$(EXTRA_INC) |
7355 STRIPBINARIES = $_stripbinaries | 7349 STRIPBINARIES = $_stripbinaries |
7356 CHARSET = $_charset | 7350 CHARSET = $_charset |
7357 HELP_FILE = $_mp_help | 7351 HELP_FILE = $_mp_help |
7358 | 7352 |
7359 PRG = $_prg | 7353 EXESUF = $_exesuf |
7360 PRG_MENCODER = $_prg_mencoder | |
7361 | 7354 |
7362 MPLAYER_NETWORK = $_network | 7355 MPLAYER_NETWORK = $_network |
7363 FTP = $_ftp | 7356 FTP = $_ftp |
7364 STREAMING_LIVE555 = $_live | 7357 STREAMING_LIVE555 = $_live |
7365 VSTREAM = $_vstream | 7358 VSTREAM = $_vstream |