BeOS specifics: check for Haiku & Zeta (for the future); ignore ldconfig, it just runs here :) ; comment about network checks.
Originally committed as revision 7886 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
fbabf1e0b6
commit
74cec57d8e
6
configure
vendored
6
configure
vendored
@ -774,8 +774,8 @@ LIB_INSTALL_EXTRA_CMD='$(RANLIB) "$(libdir)/$(LIB)"'
|
|||||||
# OS specific
|
# OS specific
|
||||||
targetos=`uname -s`
|
targetos=`uname -s`
|
||||||
case $targetos in
|
case $targetos in
|
||||||
BeOS)
|
BeOS|Haiku|Zeta)
|
||||||
PREFIX="/boot/home/config"
|
PREFIX="$HOME/config"
|
||||||
# helps building libavcodec
|
# helps building libavcodec
|
||||||
add_cflags "-DPIC -fomit-frame-pointer"
|
add_cflags "-DPIC -fomit-frame-pointer"
|
||||||
# 3 gcc releases known for BeOS, each with ugly bugs
|
# 3 gcc releases known for BeOS, each with ugly bugs
|
||||||
@ -788,6 +788,7 @@ case $targetos in
|
|||||||
add_cflags "-fno-expensive-optimizations"
|
add_cflags "-fno-expensive-optimizations"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
LDCONFIG="echo ignoring ldconfig"
|
||||||
SHFLAGS=-nostart
|
SHFLAGS=-nostart
|
||||||
# disable Linux things
|
# disable Linux things
|
||||||
audio_oss="no"
|
audio_oss="no"
|
||||||
@ -798,6 +799,7 @@ case $targetos in
|
|||||||
audio_beos="yes"
|
audio_beos="yes"
|
||||||
# no need for libm, but the inet stuff
|
# no need for libm, but the inet stuff
|
||||||
# Check for BONE
|
# Check for BONE
|
||||||
|
# XXX: actually should check for NOT net_server
|
||||||
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
|
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
|
||||||
extralibs="-lbind -lsocket"
|
extralibs="-lbind -lsocket"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user