From c0f5b7f1072872f5dba8ea9015cfb8f391755867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com> Date: Thu, 5 Feb 2009 00:03:54 +0000 Subject: [PATCH] configure: set EXESUF before it is used Originally committed as revision 16997 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 89f9bbc99f2..1c225a02017 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="" -- GitLab