diff options
author | François Revol <revol@free.fr> | 2003-02-25 12:35:31 +0000 |
---|---|---|
committer | François Revol <revol@free.fr> | 2003-02-25 12:35:31 +0000 |
commit | dee076fcb71701e9f17cb8cdc0738fc9cd93c276 (patch) | |
tree | 1edebf74819528a7723bf32678c76150f02a2bf7 /configure | |
parent | e2f9490eab2fba465a0b611eb4524597b7286673 (diff) | |
download | ffmpeg-dee076fcb71701e9f17cb8cdc0738fc9cd93c276.tar.gz |
temporary fix: BeOS only has 'which' as an alias to a shell func :^)
btw, someone should indent this mess =) (maybe I'll do)
Originally committed as revision 1606 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |