|
|
@ -35,6 +35,9 @@ case "$cpu" in |
|
|
|
alpha) |
|
|
|
alpha) |
|
|
|
cpu="alpha" |
|
|
|
cpu="alpha" |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
"Power Macintosh") |
|
|
|
|
|
|
|
cpu="powerpc" |
|
|
|
|
|
|
|
;; |
|
|
|
*) |
|
|
|
*) |
|
|
|
cpu="unknown" |
|
|
|
cpu="unknown" |
|
|
|
;; |
|
|
|
;; |
|
|
@ -81,6 +84,14 @@ audio_oss="yes" |
|
|
|
extralibs="-lpoll -lgnugetopt -lm" |
|
|
|
extralibs="-lpoll -lgnugetopt -lm" |
|
|
|
make="gmake" |
|
|
|
make="gmake" |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
Darwin) |
|
|
|
|
|
|
|
v4l="no" |
|
|
|
|
|
|
|
audio_oss="no" |
|
|
|
|
|
|
|
CFLAGS="-no-cpp-precomp -pipe -O3 -fomit-frame-pointer" |
|
|
|
|
|
|
|
SHFLAGS=-dynamic |
|
|
|
|
|
|
|
extralibs="" |
|
|
|
|
|
|
|
darwin=yes |
|
|
|
|
|
|
|
;; |
|
|
|
*) ;; |
|
|
|
*) ;; |
|
|
|
esac |
|
|
|
esac |
|
|
|
|
|
|
|
|
|
|
@ -442,6 +453,11 @@ if test "$win32" = "yes" ; then |
|
|
|
echo "CONFIG_WIN32=yes" >> config.mak |
|
|
|
echo "CONFIG_WIN32=yes" >> config.mak |
|
|
|
fi |
|
|
|
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 |
|
|
|
if test "$_malloc_h" = "yes" ; then |
|
|
|
echo "#define HAVE_MALLOC_H 1" >> $TMPH |
|
|
|
echo "#define HAVE_MALLOC_H 1" >> $TMPH |
|
|
|
else |
|
|
|
else |
|
|
|