aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorFelix Bünemann <atmosfear@users.sourceforge.net>2002-08-30 19:34:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-30 19:34:55 +0000
commit3f027ca76cb1424fa1c80bf76499e089921f537b (patch)
tree427dd2163284f0783208fb6eb457051fedf693c7 /configure
parentc7e079314bc47ed09826ec343f4582226c6ed296 (diff)
downloadffmpeg-3f027ca76cb1424fa1c80bf76499e089921f537b.tar.gz
cygwin patch by (Felix Buenemann <atmosfear at users dot sourceforge dot net>)
Originally committed as revision 883 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure b/configure
index 41856b6681..a9bd98b155 100755
--- a/configure
+++ b/configure
@@ -51,6 +51,7 @@ mp3lame="no"
a52="yes"
a52bin="no"
win32="no"
+cygwin="no"
lshared="no"
extralibs="-lm"
simpleidct="yes"
@@ -93,6 +94,16 @@ SHFLAGS="-dynamiclib"
extralibs=""
darwin="yes"
;;
+CYGWIN*)
+v4l="no"
+audio_oss="yes"
+extralibs=""
+cygwin="yes"
+test -f /usr/include/inttypes.h || \
+test -f /usr/local/include/inttypes.h || \
+echo "Missing inttypes.h, please copy cygwin_inttypes.h to" \
+ "/usr/include/inttypes.h !!!"
+;;
*) ;;
esac
@@ -454,6 +465,11 @@ if test "$win32" = "yes" ; then
echo "CONFIG_WIN32=yes" >> config.mak
fi
+if test "$cygwin" = "yes" ; then
+ # setup correct exesuffix
+ echo "CONFIG_WIN32=yes" >> config.mak
+fi
+
if test "$darwin" = "yes"; then
echo "#define CONFIG_DARWIN 1" >> $TMPH
echo "CONFIG_DARWIN=yes" >> config.mak