Changes in configure [f1e7407:6a72a57]
Legend:
- Unmodified
- Added
- Removed
-
configure
rf1e7407 r6a72a57 20 20 ipcsocket='/var/run/bitlbee.sock' 21 21 pcdir='$prefix/lib/pkgconfig' 22 systemlibdirs="/lib /usr/lib /usr/local/lib" 22 23 23 24 msn=1 … … 109 110 PCDIR=$pcdir 110 111 112 TARGET=$target 111 113 ARCH=$arch 112 114 CPU=$cpu 113 OUTFILE=bitlbee114 115 115 116 DESTDIR= … … 134 135 EOF 135 136 137 138 136 139 if [ -n "$target" ]; then 137 PKG_CONFIG_PATH=/usr/$target/lib/pkgconfig 140 PKG_CONFIG_LIBDIR=/usr/$target/lib/pkgconfig 141 export PKG_CONFIG_LIBDIR 138 142 PATH=/usr/$target/bin:$PATH 139 143 CC=$target-cc 140 144 LD=$target-ld 141 fi 145 systemlibdirs="/usr/$target/lib" 146 fi 147 142 148 143 149 if [ "$debug" = "1" ]; then … … 224 230 detect_gnutls() 225 231 { 226 if libgnutls-config --version > /dev/null 2> /dev/null; then 232 if $PKG_CONFIG --exists gnutls; then 233 cat <<EOF>>Makefile.settings 234 EFLAGS+=`$PKG_CONFIG --libs gnutls` 235 CFLAGS+=`$PKG_CONFIG --cflags gnutls` 236 EOF 237 ssl=gnutls 238 ret=1 239 elif libgnutls-config --version > /dev/null 2> /dev/null; then 227 240 cat <<EOF>>Makefile.settings 228 241 EFLAGS+=`libgnutls-config --libs` … … 278 291 elif [ "$ssl" = "nss" ]; then 279 292 detect_nss 293 elif [ "$ssl" = "sspi" ]; then 294 echo 280 295 elif [ "$ssl" = "openssl" ]; then 281 296 echo … … 334 349 echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings 335 350 336 for i in /lib /usr/lib /usr/local/lib; do351 for i in $systemlibdirs; do 337 352 if [ -f $i/libresolv.a ]; then 338 353 echo '#define HAVE_RESOLV_A' >> config.h … … 386 401 387 402 if [ "$gcov" = "1" ]; then 388 echo "CFLAGS+=- ftest-coverage -fprofile-arcs" >> Makefile.settings389 echo "EFLAGS+=- lgcov" >> Makefile.settings403 echo "CFLAGS+=--coverage" >> Makefile.settings 404 echo "EFLAGS+=--coverage" >> Makefile.settings 390 405 fi 391 406 … … 494 509 echo 'Cygwin is not officially supported.' 495 510 ;; 511 Windows ) 512 ;; 496 513 * ) 497 514 echo 'We haven'\''t tested BitlBee on many platforms yet, yours is untested. YMMV.'
Note: See TracChangeset
for help on using the changeset viewer.