From: Eric Petit Date: Tue, 13 Dec 2005 16:32:39 +0000 (+0000) Subject: Fixed cc_check on OS X (gcc -o /dev/null always fails) X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=a9607af8a776bb00aa463fa926fb4e4661eff1e4;p=x264.git Fixed cc_check on OS X (gcc -o /dev/null always fails) git-svn-id: svn://svn.videolan.org/x264/trunk@387 df754926-b1dd-0310-bc7b-ec298dee348c --- diff --git a/configure b/configure index f2686330..1faa1136 100755 --- a/configure +++ b/configure @@ -27,9 +27,9 @@ cc_check() { #include <$1> int main () { return 0; } EOF - $CC $CFLAGS $LDFLAGS $2 conftest.c -o $DEVNULL 2>$DEVNULL + $CC $CFLAGS $LDFLAGS $2 conftest.c -o conftest 2>$DEVNULL TMP="$?" - rm -f conftest.c + rm -f conftest.c conftest return $TMP }