diff options
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -495,7 +495,7 @@ if test $shared -eq 1; then | |||
| 495 | echo Checking for shared library support... | tee -a configure.log | 495 | echo Checking for shared library support... | tee -a configure.log |
| 496 | # we must test in two steps (cc then ld), required at least on SunOS 4.x | 496 | # we must test in two steps (cc then ld), required at least on SunOS 4.x |
| 497 | if try $CC -c $SFLAGS $test.c && | 497 | if try $CC -c $SFLAGS $test.c && |
| 498 | try $LDSHARED $SFLAGS -o $test$shared_ext $test.o; then | 498 | try $LDSHARED $SFLAGS $LDFLAGS -o $test$shared_ext $test.o; then |
| 499 | echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log | 499 | echo Building shared library $SHAREDLIBV with $CC. | tee -a configure.log |
| 500 | elif test -z "$old_cc" -a -z "$old_cflags"; then | 500 | elif test -z "$old_cc" -a -z "$old_cflags"; then |
| 501 | echo No shared library support. | tee -a configure.log | 501 | echo No shared library support. | tee -a configure.log |
| @@ -557,7 +557,7 @@ int main(void) { | |||
| 557 | } | 557 | } |
| 558 | EOF | 558 | EOF |
| 559 | fi | 559 | fi |
| 560 | if try $CC $CFLAGS -o $test $test.c; then | 560 | if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then |
| 561 | sizet=`./$test` | 561 | sizet=`./$test` |
| 562 | echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log | 562 | echo "Checking for a pointer-size integer type..." $sizet"." | tee -a configure.log |
| 563 | CFLAGS="${CFLAGS} -DNO_SIZE_T=${sizet}" | 563 | CFLAGS="${CFLAGS} -DNO_SIZE_T=${sizet}" |
| @@ -591,7 +591,7 @@ int main(void) { | |||
| 591 | return 0; | 591 | return 0; |
| 592 | } | 592 | } |
| 593 | EOF | 593 | EOF |
| 594 | if try $CC $CFLAGS -o $test $test.c; then | 594 | if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then |
| 595 | echo "Checking for fseeko... Yes." | tee -a configure.log | 595 | echo "Checking for fseeko... Yes." | tee -a configure.log |
| 596 | else | 596 | else |
| 597 | CFLAGS="${CFLAGS} -DNO_FSEEKO" | 597 | CFLAGS="${CFLAGS} -DNO_FSEEKO" |
| @@ -608,7 +608,7 @@ cat > $test.c <<EOF | |||
| 608 | #include <errno.h> | 608 | #include <errno.h> |
| 609 | int main() { return strlen(strerror(errno)); } | 609 | int main() { return strlen(strerror(errno)); } |
| 610 | EOF | 610 | EOF |
| 611 | if try $CC $CFLAGS -o $test $test.c; then | 611 | if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then |
| 612 | echo "Checking for strerror... Yes." | tee -a configure.log | 612 | echo "Checking for strerror... Yes." | tee -a configure.log |
| 613 | else | 613 | else |
| 614 | CFLAGS="${CFLAGS} -DNO_STRERROR" | 614 | CFLAGS="${CFLAGS} -DNO_STRERROR" |
| @@ -714,7 +714,7 @@ int main() | |||
| 714 | return (mytest("Hello%d\n", 1)); | 714 | return (mytest("Hello%d\n", 1)); |
| 715 | } | 715 | } |
| 716 | EOF | 716 | EOF |
| 717 | if try $CC $CFLAGS -o $test $test.c; then | 717 | if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then |
| 718 | echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log | 718 | echo "Checking for vsnprintf() in stdio.h... Yes." | tee -a configure.log |
| 719 | 719 | ||
| 720 | echo >> configure.log | 720 | echo >> configure.log |
| @@ -807,7 +807,7 @@ int main() | |||
| 807 | } | 807 | } |
| 808 | EOF | 808 | EOF |
| 809 | 809 | ||
| 810 | if try $CC $CFLAGS -o $test $test.c; then | 810 | if try $CC $CFLAGS $LDFLAGS -o $test $test.c; then |
| 811 | echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log | 811 | echo "Checking for snprintf() in stdio.h... Yes." | tee -a configure.log |
| 812 | 812 | ||
| 813 | echo >> configure.log | 813 | echo >> configure.log |
