- Timestamp:
- 2010-03-20T18:03:18Z (15 years ago)
- Branches:
- master
- Children:
- 85693e6
- Parents:
- 3330468 (diff), 0baed0d (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
r3330468 r81ee561 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 … … 159 159 160 160 echo CFLAGS=$CFLAGS >> Makefile.settings 161 echo CFLAGS+=-I`pwd` - iquote`pwd`/lib -iquote`pwd`/protocols -I. >> Makefile.settings161 echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings 162 162 163 163 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings … … 298 298 detect_resolv_dynamic() 299 299 { 300 echo "$RESOLV_TESTCODE" | $CC -o /dev/null -x c - -lresolv >/dev/null 2>/dev/null 300 TMPFILE=$(mktemp) 301 ret=1 302 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - -lresolv >/dev/null 2>/dev/null 301 303 if [ "$?" = "0" ]; then 302 304 echo 'EFLAGS+=-lresolv' >> Makefile.settings 303 return 0 304 fi 305 306 return 1 305 ret=0 306 fi 307 308 rm -f $TMPFILE 309 return $ret 307 310 } 308 311 309 312 detect_resolv_static() 310 313 { 314 TMPFILE=$(mktemp) 315 ret=1 311 316 for i in $systemlibdirs; do 312 317 if [ -f $i/libresolv.a ]; then 313 echo "$RESOLV_TESTCODE" | $CC -o /dev/null-x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null318 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - -Wl,$i/libresolv.a >/dev/null 2>/dev/null 314 319 if [ "$?" = "0" ]; then 315 320 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings 316 ret urn0321 ret=0 317 322 fi 318 323 fi 319 324 done 320 325 321 return 1 326 rm -f $TMPFILE 327 return $ret 322 328 } 323 329
Note: See TracChangeset
for help on using the changeset viewer.