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