summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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