- Timestamp:
- 2015-03-12T09:10:16Z (10 years ago)
- Children:
- fc650a8
- Parents:
- 0e4c3dd (diff), 3bb333c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r0e4c3dd r89db90e 37 37 purple=0 38 38 39 doc=1 39 40 debug=0 40 41 strip=1 … … 59 60 # Cygwin and Darwin don't support PIC/PIE 60 61 case "$arch" in 61 62 63 64 62 CYGWIN* ) 63 pie=0;; 64 Darwin ) 65 pie=0;; 65 66 esac 66 67 … … 94 95 (automatically disables other protocol modules) 95 96 97 --doc=0/1 Disable/enable help.txt generation $doc 96 98 --debug=0/1 Disable/enable debugging $debug 97 99 --strip=0/1 Disable/enable binary stripping $strip … … 448 450 ret=1 449 451 echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - $LIBRESOLV >/dev/null 2>/dev/null 450 451 452 452 if [ "$?" = "0" ]; then 453 ret=0 454 fi 453 455 454 456 rm -f $TMPFILE … … 463 465 if [ -f $i/libresolv.a ]; then 464 466 echo "$RESOLV_NS_TESTCODE" | $CC -o $TMPFILE -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null 465 466 467 467 if [ "$?" = "0" ]; then 468 ret=0 469 fi 468 470 fi 469 471 done … … 475 477 detect_nameser_has_ns_types() 476 478 { 477 478 479 480 481 482 483 484 485 486 487 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 488 490 } 489 491 … … 546 548 if detect_resolv_dynamic || detect_resolv_static; then 547 549 echo '#define HAVE_RESOLV_A' >> config.h 548 549 550 551 else 552 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' 553 555 fi 554 556 … … 647 649 fi 648 650 649 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then 650 echo 651 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.' 652 echo 'Install xmlto if you want online help to work.' 651 if [ "$doc" = "1" ]; then 652 if [ ! -e doc/user-guide/help.txt ] && \ 653 ! type xmlto > /dev/null 2> /dev/null || \ 654 ! type xsltproc > /dev/null 2> /dev/null 655 then 656 echo 657 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.' 658 echo 'Install xmlto and xsltproc if you want online help to work.' 659 else 660 echo "DOC=1" >> Makefile.settings 661 fi 662 663 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then 664 # skype also needs asciidoc 665 if ! type a2x > /dev/null 2> /dev/null; then 666 echo 667 echo 'WARNING: The skyped man page requires asciidoc. It will not be generated.' 668 else 669 echo "ASCIIDOC=1" >> Makefile.settings 670 fi 671 fi 653 672 fi 654 673
Note: See TracChangeset
for help on using the changeset viewer.