From 90cee0c351f43a37b626c08d8262eaa3237f4de9 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 21 Aug 2002 19:18:02 +0000 Subject: darwin patches by Heliodoro Tammaro Originally committed as revision 857 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3