ModeenF's configure fix for BeOS

This commit is contained in:
Charles Kerr 2007-08-03 15:46:06 +00:00
parent d2791f0d5d
commit d5a702ab4c
1 changed files with 5 additions and 3 deletions

8
configure vendored
View File

@ -229,9 +229,11 @@ int main()
return 0;
}
EOF
if runcmd $CC -o testconf testconf.c
then
CFLAGS="$CFLAGS -DHAVE_DIRNAME -DHAVE_BASENAME"
if [ "x$SYSTEM" != xBeOS ]; then
if runcmd $CC -o testconf testconf.c
then
CFLAGS="$CFLAGS -DHAVE_DIRNAME -DHAVE_BASENAME"
fi
fi
rm -f testconf*
}