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