Commit 76d71a40 authored by mmu_man's avatar mmu_man

temporary fix: BeOS only has 'which' as an alias to a shell func :^)

btw, someone should indent this mess =) (maybe I'll do)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1606 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d8752fc7
......@@ -561,11 +561,13 @@ int main( void ) { return (int) FT_Init_FreeType(0); }
EOF
freetype2=no
which freetype-config > /dev/null
if test $? -eq 0; then
if test "x$targetos" != "xBeOS"; then
which freetype-config > /dev/null
if test $? -eq 0; then
if $cc -o $TMPE $TMPC `freetype-config --cflags` `freetype-config --libs` 2> /dev/null ; then
freetype2=yes
freetype2=yes
fi
fi
fi
if test x"$1" = x"-h" -o x"$1" = x"--help" ; then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment