- Timestamp:
- 2010-06-03T10:41:03Z (14 years ago)
- Branches:
- master
- Children:
- 814aa52
- Parents:
- 3f81999 (diff), f9928cb (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
r3f81999 r5f8ab6a9 158 158 159 159 echo CFLAGS=$CFLAGS >> Makefile.settings 160 echo CFLAGS+=-I`pwd` - I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings160 echo CFLAGS+=-I`pwd` -iquote`pwd`/lib -iquote`pwd`/protocols -I. >> Makefile.settings 161 161 162 162 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings … … 269 269 detect_ldap() 270 270 { 271 TMPFILE= `mktemp`271 TMPFILE=$(mktemp) 272 272 if $CC -o $TMPFILE -shared -lldap 2>/dev/null >/dev/null; then 273 273 cat<<EOF>>Makefile.settings … … 282 282 ret=0 283 283 fi 284 } 285 286 RESOLV_TESTCODE=' 287 #include <arpa/nameser.h> 288 #include <resolv.h> 289 290 int main() 291 { 292 ns_initparse( NULL, 0, NULL ); 293 ns_parserr( NULL, ns_s_an, 0, NULL ); 294 } 295 ' 296 297 detect_resolv_dynamic() 298 { 299 echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -lresolv >/dev/null 2>/dev/null 300 if [ "$?" = "0" ]; then 301 echo 'EFLAGS+=-lresolv' >> Makefile.settings 302 return 0 303 fi 304 305 return 1 306 } 307 308 detect_resolv_static() 309 { 310 for i in $systemlibdirs; do 311 if [ -f $i/libresolv.a ]; then 312 echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null 313 if [ "$?" = "0" ]; then 314 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings 315 return 0 316 fi 317 fi 318 done 319 320 return 1 284 321 } 285 322 … … 325 362 326 363 ## Yes, you, at the console! How can you authenticate if you don't have any SSL!? 327 if [ "$msn" = "1" ]; then364 if [ "$msn" = "1" -o "$yahoo" = "1" ]; then 328 365 echo 329 echo 'Real SSL support is necessary for MSN authentication, will build without' 330 echo 'MSN protocol support.' 366 echo 'WARNING: The MSN and Yahoo! modules will not work without SSL. Disabling.' 331 367 msn=0 368 yahoo=0 332 369 fi 333 370 … … 351 388 echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings 352 389 353 for i in $systemlibdirs; do 354 if [ -f $i/libresolv.a ]; then 355 echo '#define HAVE_RESOLV_A' >> config.h 356 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings 357 break 358 fi 359 done 390 if detect_resolv_dynamic || detect_resolv_static; then 391 echo '#define HAVE_RESOLV_A' >> config.h 392 fi 360 393 361 394 STORAGES="text xml" … … 435 468 fi 436 469 470 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then 471 echo 472 echo 'WARNING: Building from an unreleased source tree without prebuilt helpfile.' 473 echo 'Install xmlto if you want online help to work.' 474 fi 475 437 476 echo 438 477 if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then … … 520 559 ;; 521 560 Darwin ) 561 echo 'STRIP=\# skip strip' >> Makefile.settings 522 562 ;; 523 563 IRIX )
Note: See TracChangeset
for help on using the changeset viewer.