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