Changes in configure [ceebeb1:8462239]
Legend:
- Unmodified
- Added
- Removed
-
configure
rceebeb1 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 … … 156 156 157 157 echo CFLAGS=$CFLAGS >> Makefile.settings 158 echo CFLAGS+=-I`pwd` - iquote`pwd`/lib -iquote`pwd`/protocols -I. >> Makefile.settings158 echo CFLAGS+=-I`pwd` -I`pwd`/lib -I`pwd`/protocols -I. >> Makefile.settings 159 159 160 160 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings … … 295 295 detect_resolv_dynamic() 296 296 { 297 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 298 300 if [ "$?" = "0" ]; then 299 301 echo 'EFLAGS+=-lresolv' >> Makefile.settings 300 return 0 301 fi 302 303 return 1 302 ret=0 303 fi 304 305 rm -f $TMPFILE 306 return $ret 304 307 } 305 308 306 309 detect_resolv_static() 307 310 { 311 TMPFILE=$(mktemp) 312 ret=1 308 313 for i in $systemlibdirs; do 309 314 if [ -f $i/libresolv.a ]; then 310 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 311 316 if [ "$?" = "0" ]; then 312 317 echo 'EFLAGS+='$i'/libresolv.a' >> Makefile.settings 313 ret urn0318 ret=0 314 319 fi 315 320 fi 316 321 done 317 322 318 return 1 323 rm -f $TMPFILE 324 return $ret 319 325 } 320 326
Note: See TracChangeset
for help on using the changeset viewer.