summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-08-21 19:18:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-21 19:18:02 +0000
commit90cee0c351f43a37b626c08d8262eaa3237f4de9 (patch)
tree5ab975ec4c6ee3f731b830a072ffe9ad432c0349 /configure
parentf8e891a97ca09cf2bb05e306d4997db3823c21aa (diff)
darwin patches by Heliodoro Tammaro <helio at interactives dot org>
Originally committed as revision 857 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 480eedcd6f..09cda4212f 100755
--- a/configure
+++ b/configure
@@ -35,6 +35,9 @@ case "$cpu" in
alpha)
cpu="alpha"
;;
+ "Power Macintosh")
+ cpu="powerpc"
+ ;;
*)
cpu="unknown"
;;
@@ -81,6 +84,14 @@ audio_oss="yes"
extralibs="-lpoll -lgnugetopt -lm"
make="gmake"
;;
+Darwin)
+v4l="no"
+audio_oss="no"
+CFLAGS="-no-cpp-precomp -pipe -O3 -fomit-frame-pointer"
+SHFLAGS=-dynamic
+extralibs=""
+darwin=yes
+;;
*) ;;
esac
@@ -442,6 +453,11 @@ if test "$win32" = "yes" ; then
echo "CONFIG_WIN32=yes" >> config.mak
fi
+if test "$darwin" = "yes"; then
+ echo "#define CONFIG_DARWIN 1" >> $TMPH
+ echo "CONFIG_DARWIN=yes" >> config.mak
+fi
+
if test "$_malloc_h" = "yes" ; then
echo "#define HAVE_MALLOC_H 1" >> $TMPH
else