Changeset a67e781
- Timestamp:
- 2015-02-23T05:03:44Z (10 years ago)
- Branches:
- master
- Children:
- 8eb2e84
- Parents:
- a85a8ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
ra85a8ab ra67e781 450 450 ret=1 451 451 echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - $LIBRESOLV >/dev/null 2>/dev/null 452 453 454 452 if [ "$?" = "0" ]; then 453 ret=0 454 fi 455 455 456 456 rm -f $TMPFILE … … 465 465 if [ -f $i/libresolv.a ]; then 466 466 echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null 467 468 469 467 if [ "$?" = "0" ]; then 468 ret=0 469 fi 470 470 fi 471 471 done … … 477 477 detect_nameser_has_ns_types() 478 478 { 479 480 481 482 483 484 485 486 487 488 489 479 TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) 480 ret=1 481 # since we aren't actually linking with ns_* routines 482 # we can just compile the test code 483 echo "$RESOLV_NS_TYPES_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null 484 if [ "$?" = "0" ]; then 485 ret=0 486 fi 487 488 rm -f $TMPFILE 489 return $ret 490 490 } 491 491 … … 548 548 if detect_resolv_dynamic || detect_resolv_static; then 549 549 echo '#define HAVE_RESOLV_A' >> config.h 550 551 552 553 else 554 550 if detect_resolv_ns_dynamic || detect_resolv_ns_static; then 551 echo '#define HAVE_RESOLV_A_WITH_NS' >> config.h 552 fi 553 else 554 echo 'Insufficient resolv routines. Jabber server must be set explicitly' 555 555 fi 556 556
Note: See TracChangeset
for help on using the changeset viewer.