aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-02-05 00:03:54 +0000
committerMåns Rullgård <mans@mansr.com>2009-02-05 00:03:54 +0000
commitc0f5b7f1072872f5dba8ea9015cfb8f391755867 (patch)
treee304554501a5ac2cafe2505f88c27cfaed38ce05 /configure
parent5317c95b7539bdcc4988dcd7b402ebcb724d4792 (diff)
downloadffmpeg-c0f5b7f1072872f5dba8ea9015cfb8f391755867.tar.gz
configure: set EXESUF before it is used
Originally committed as revision 16997 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 89f9bbc99f..1c225a0201 100755
--- a/configure
+++ b/configure
@@ -1312,6 +1312,10 @@ set_default cc nm
enabled cross_compile || host_cc_default=$cc
set_default host_cc
+case $target_os in
+ mingw32*|cygwin*|*-dos|freedos|opendos|os/2*) EXESUF=.exe ;;
+esac
+
# set temporary file name
: ${TMPDIR:=$TEMPDIR}
: ${TMPDIR:=$TMP}
@@ -1513,7 +1517,6 @@ case $target_os in
disable ffserver
SLIBPREF=""
SLIBSUF=".dll"
- EXESUF=".exe"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
SLIB_EXTRA_CMD='-lib /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib)'
@@ -1540,7 +1543,6 @@ case $target_os in
VHOOKSHFLAGS="$VHOOKSHFLAGS -L\$(BUILD_ROOT)/libswscale"
VHOOKLIBS="$VHOOKLIBS -lswscale\$(BUILDSUF)"
fi
- EXESUF=".exe"
SLIBPREF="cyg"
SLIBSUF=".dll"
SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
@@ -1553,7 +1555,6 @@ case $target_os in
disable ffplay ffserver vhook
disable $INDEV_LIST $OUTDEV_LIST
network_extralibs="-lsocket"
- EXESUF=".exe"
objformat="coff"
enable dos_paths
;;
@@ -1567,7 +1568,6 @@ case $target_os in
os/2*)
strip="lxlite"
ln_s="cp -f"
- EXESUF=".exe"
FFLDFLAGS="-Zomf -Zbin-files -Zargs-wild -Zmap"
SHFLAGS='$(SUBDIR)$(NAME).def -Zdll -Zomf'
FFSERVERLDFLAGS=""