Changes in configure [8462239:1b221e0]
Legend:
- Unmodified
- Added
- Removed
-
configure
r8462239 r1b221e0 20 20 ipcsocket='/var/run/bitlbee.sock' 21 21 pcdir='$prefix/lib/pkgconfig' 22 systemlibdirs="/lib / lib64 /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64"22 systemlibdirs="/lib /usr/lib /usr/local/lib" 23 23 24 24 msn=1 … … 26 26 oscar=1 27 27 yahoo=1 28 twitter=1 28 29 29 30 debug=0 … … 66 67 --oscar=0/1 Disable/enable Oscar part (ICQ, AIM) $oscar 67 68 --yahoo=0/1 Disable/enable Yahoo part $yahoo 69 --twitter=0/1 Disable/enable Twitter part $twitter 68 70 69 71 --debug=0/1 Disable/enable debugging $debug … … 295 297 detect_resolv_dynamic() 296 298 { 297 TMPFILE=$(mktemp) 298 ret=1 299 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - -lresolv >/dev/null 2>/dev/null 299 echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -lresolv >/dev/null 2>/dev/null 300 300 if [ "$?" = "0" ]; then 301 301 echo 'EFLAGS+=-lresolv' >> Makefile.settings 302 ret=0 303 fi 304 305 rm -f $TMPFILE 306 return $ret 302 return 0 303 fi 304 305 return 1 307 306 } 308 307 309 308 detect_resolv_static() 310 309 { 311 TMPFILE=$(mktemp)312 ret=1313 310 for i in $systemlibdirs; do 314 311 if [ -f $i/libresolv.a ]; then 315 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE-x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null312 echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null 316 313 if [ "$?" = "0" ]; then 317 314 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings 318 ret =0315 return 0 319 316 fi 320 317 fi 321 318 done 322 319 323 rm -f $TMPFILE 324 return $ret 320 return 1 325 321 } 326 322 … … 366 362 367 363 ## Yes, you, at the console! How can you authenticate if you don't have any SSL!? 368 if [ "$msn" = "1" -o "$yahoo" = "1"]; then364 if [ "$msn" = "1" ]; then 369 365 echo 370 echo 'WARNING: The MSN and Yahoo! modules will not work without SSL. Disabling.' 366 echo 'Real SSL support is necessary for MSN authentication, will build without' 367 echo 'MSN protocol support.' 371 368 msn=0 372 yahoo=0373 369 fi 374 370 … … 450 446 fi 451 447 452 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then453 echo454 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.'455 echo 'Install xmlto if you want online help to work.'456 fi457 458 448 echo 459 449 if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then … … 524 514 fi 525 515 516 if [ "$twitter" = 0 ]; then 517 echo '#undef WITH_TWITTER' >> config.h 518 else 519 echo '#define WITH_TWITTER' >> config.h 520 protocols=$protocols'twitter ' 521 protoobjs=$protoobjs'twitter_mod.o ' 522 fi 523 526 524 if [ "$protocols" = "PROTOCOLS = " ]; then 527 525 echo "Warning: You haven't selected any communication protocol to compile!" … … 541 539 ;; 542 540 Darwin ) 543 echo 'STRIP=\# skip strip' >> Makefile.settings544 541 ;; 545 542 IRIX )
Note: See TracChangeset
for help on using the changeset viewer.