diff --git a/configure b/configure index c40389927a1caae84ac396be922d1e650db671dc..0bc2cc7e3c228c1edebc2e70fc9d700f2099bb9c 100755 --- a/configure +++ b/configure @@ -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