OLD | NEW |
(Empty) | |
| 1 --- configure.orig 2004-06-29 18:49:20.065187520 -0400 |
| 2 +++ configure 2004-06-29 18:52:54.142642800 -0400 |
| 3 @@ -160,8 +160,8 @@ |
| 4 if test $shared -eq 1; then |
| 5 echo Checking for shared library support... |
| 6 # we must test in two steps (cc then ld), required at least on SunOS 4.x |
| 7 - if test "`($CC -c $SFLAGS $test.c) 2>&1`" = "" && |
| 8 - test "`($LDSHARED -o $test$shared_ext $test.o) 2>&1`" = ""; then |
| 9 + if ($CC -c $SFLAGS $test.c) 2>/dev/null && |
| 10 + ($LDSHARED -o $test$shared_ext $test.o) 2>/dev/null; then |
| 11 CFLAGS="$SFLAGS" |
| 12 LIBS="$LIBS $SHAREDLIBV" |
| 13 echo Building shared library $SHAREDLIBV with $CC. |
| 14 @@ -185,7 +185,7 @@ |
| 15 #include <unistd.h> |
| 16 int main() { return 0; } |
| 17 EOF |
| 18 -if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 19 +if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 20 sed < zconf.in.h "/HAVE_UNISTD_H/s%0%1%" > zconf.h |
| 21 echo "Checking for unistd.h... Yes." |
| 22 else |
| 23 @@ -208,7 +208,7 @@ |
| 24 } |
| 25 EOF |
| 26 |
| 27 -if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 28 +if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 29 echo "Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]pri
ntf()" |
| 30 |
| 31 cat > $test.c <<EOF |
| 32 @@ -232,7 +232,7 @@ |
| 33 } |
| 34 EOF |
| 35 |
| 36 - if test "`($CC $CFLAGS -o $test $test.c) 2>&1`" = ""; then |
| 37 + if ($CC $CFLAGS -o $test $test.c) 2>/dev/null; then |
| 38 echo "Checking for vsnprintf() in stdio.h... Yes." |
| 39 |
| 40 cat >$test.c <<EOF |
| 41 @@ -257,7 +257,7 @@ |
| 42 } |
| 43 EOF |
| 44 |
| 45 - if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 46 + if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 47 echo "Checking for return value of vsnprintf()... Yes." |
| 48 else |
| 49 CFLAGS="$CFLAGS -DHAS_vsnprintf_void" |
| 50 @@ -295,7 +295,7 @@ |
| 51 } |
| 52 EOF |
| 53 |
| 54 - if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 55 + if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 56 echo "Checking for return value of vsprintf()... Yes." |
| 57 else |
| 58 CFLAGS="$CFLAGS -DHAS_vsprintf_void" |
| 59 @@ -325,7 +325,7 @@ |
| 60 } |
| 61 EOF |
| 62 |
| 63 - if test "`($CC $CFLAGS -o $test $test.c) 2>&1`" = ""; then |
| 64 + if ($CC $CFLAGS -o $test $test.c) 2>/dev/null; then |
| 65 echo "Checking for snprintf() in stdio.h... Yes." |
| 66 |
| 67 cat >$test.c <<EOF |
| 68 @@ -344,7 +344,7 @@ |
| 69 } |
| 70 EOF |
| 71 |
| 72 - if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 73 + if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 74 echo "Checking for return value of snprintf()... Yes." |
| 75 else |
| 76 CFLAGS="$CFLAGS -DHAS_snprintf_void" |
| 77 @@ -376,7 +376,7 @@ |
| 78 } |
| 79 EOF |
| 80 |
| 81 - if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 82 + if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 83 echo "Checking for return value of sprintf()... Yes." |
| 84 else |
| 85 CFLAGS="$CFLAGS -DHAS_sprintf_void" |
| 86 @@ -392,7 +392,7 @@ |
| 87 #include <errno.h> |
| 88 int main() { return 0; } |
| 89 EOF |
| 90 -if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 91 +if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 92 echo "Checking for errno.h... Yes." |
| 93 else |
| 94 echo "Checking for errno.h... No." |
| 95 @@ -407,7 +407,7 @@ |
| 96 return mmap((caddr_t)0, (off_t)0, PROT_READ, MAP_SHARED, 0, (off_t)0); |
| 97 } |
| 98 EOF |
| 99 -if test "`($CC -c $CFLAGS $test.c) 2>&1`" = ""; then |
| 100 +if ($CC -c $CFLAGS $test.c) 2>/dev/null; then |
| 101 CFLAGS="$CFLAGS -DUSE_MMAP" |
| 102 echo Checking for mmap support... Yes. |
| 103 else |
OLD | NEW |