- Timestamp:
- 2018-03-26T16:48:32Z (7 years ago)
- Branches:
- master
- Children:
- 230f6f1
- Parents:
- e1e5bd6
- git-author:
- dequis <dx@…> (26-03-18 16:26:56)
- git-committer:
- dequis <dx@…> (26-03-18 16:48:32)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
re1e5bd6 r0d2cd10 485 485 ' 486 486 487 BACKTRACE_TESTCODE=' 488 #include <execinfo.h> 489 490 int main() 491 { 492 void *trace[16]; 493 return backtrace(trace, 16); 494 } 495 ' 496 487 497 detect_resolv_dynamic() 488 498 { … … 582 592 } 583 593 594 detect_backtrace() 595 { 596 TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) 597 ret=1 598 echo "$BACKTRACE_TESTCODE" | $CC -o $TMPFILE -x c - >/dev/null 2>/dev/null 599 if [ "$?" = "0" ]; then 600 ret=0 601 fi 602 603 rm -f $TMPFILE 604 return $ret 605 } 606 584 607 if [ "$ssl" = "auto" ]; then 585 608 detect_gnutls … … 647 670 fi 648 671 672 if detect_backtrace; then 673 echo '#define HAVE_BACKTRACE' >> config.h 674 echo '#define CRASHFILE "'$config'crash.log"' >> config.h 675 fi 649 676 650 677 STORAGES="xml"
Note: See TracChangeset
for help on using the changeset viewer.