aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-07-19 22:23:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-07-19 22:23:40 +0000
commite1707f52d5a431bd645eb6026801e1ddaf9c79c5 (patch)
tree811d91e85319d3e234906ed0c8a4fd0ab3d89436 /configure
parenteddbd7e5a09a11fab04f55222f1efa14426f49fe (diff)
downloadffmpeg-e1707f52d5a431bd645eb6026801e1ddaf9c79c5.tar.gz
BeOS patches by "shatty" <shatty at myrealbox.com>
1. errno's are negative on beos, so negating them gives positive values. 2. the -shared flag is -nostart on beos. 3. building the shared lib on beos requires -fomit-frame-pointer 4. beos doesn't have oss support Originally committed as revision 779 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index 7b4750c87e..60c56b3b00 100755
--- a/configure
+++ b/configure
@@ -52,6 +52,7 @@ extralibs="-lm"
simpleidct="yes"
bigendian="no"
mpegaudio_hp="yes"
+SHFLAGS=-shared
# OS specific
targetos=`uname -s`
@@ -59,7 +60,10 @@ case $targetos in
BeOS)
prefix="/boot/home/config"
# helps building libavcodec
-CFLAGS="-O3 -DPIC"
+CFLAGS="-O3 -DPIC -fomit-frame-pointer"
+SHFLAGS=-nostart
+# disable linux things
+audio_oss="no"
v4l="no"
# no need for libm, but the inet stuff
# Check for BONE
@@ -262,6 +266,7 @@ echo "AR=$ar" >> config.mak
echo "STRIP=$strip" >> config.mak
echo "OPTFLAGS=$CFLAGS" >> config.mak
echo "LDFLAGS=$LDFLAGS" >> config.mak
+echo "SHFLAGS=$SHFLAGS" >> config.mak
if test "$cpu" = "x86" ; then
echo "TARGET_ARCH_X86=yes" >> config.mak
echo "#define ARCH_X86 1" >> $TMPH