blob: cb6ad986a91442de8e451c0739a8db62f5487309 [file] [log] [blame]
--- configure.orig 2008-05-11 12:02:50.000000000 -0700
+++ configure 2008-05-11 12:04:14.000000000 -0700
@@ -93,7 +93,7 @@
echo -n 'Checking if C compiler works... '
if (
$CC __conftest.c -o __conftest || exit 1
- ./__conftest || exit 1
+ [ -e __conftest ] || exit 1
) >/dev/null 2>&1; then
echo 'yes'
else
@@ -169,13 +169,13 @@
EOF
if (
$CC $CFLAGS __conftest.c -o __conftest || exit 1
- ./__conftest || exit 1
+ [ -e __conftest ] || exit 1
) >/dev/null 2>&1; then
echo 'yes'
else
if (
$CC $CFLAGS -D__USE_BSD_SIGNAL __conftest.c -o __conftest || exit 1
- ./__conftest || exit 1
+ [ -e ./__conftest ] || exit 1
) >/dev/null 2>&1; then
echo '-D__USE_BSD_SIGNAL'
CFLAGS="$CFLAGS -D__USE_BSD_SIGNAL"
@@ -311,7 +311,7 @@
else
if (
$CC $CFLAGS -D_GNU_SOURCE __conftest.c -o __conftest || exit 1
- ./__conftest || exit 1
+ [ -e ./__conftest ] || exit 1
) >/dev/null 2>&1; then
echo '-D_GNU_SOURCE'
CFLAGS="$CFLAGS -D_GNU_SOURCE"
@@ -342,7 +342,7 @@
EOF
if (
$CC $CFLAGS __conftest.c $LIBBSD -o __conftest || exit 1
- ./__conftest || exit 1
+ [ -e ./__conftest ] || exit 1
) >/dev/null 2>&1; then
echo 'ok'
else