Changes in configure [1bf9492:f1e7407]
Legend:
- Unmodified
- Added
- Removed
-
configure
r1bf9492 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 … … 136 134 EOF 137 135 138 139 140 136 if [ -n "$target" ]; then 141 PKG_CONFIG_LIBDIR=/usr/$target/lib/pkgconfig 142 export PKG_CONFIG_LIBDIR 137 PKG_CONFIG_PATH=/usr/$target/lib/pkgconfig 143 138 PATH=/usr/$target/bin:$PATH 144 139 CC=$target-cc 145 140 LD=$target-ld 146 systemlibdirs="/usr/$target/lib" 147 fi 148 141 fi 149 142 150 143 if [ "$debug" = "1" ]; then … … 231 224 detect_gnutls() 232 225 { 233 if $PKG_CONFIG --exists gnutls; then 234 cat <<EOF>>Makefile.settings 235 EFLAGS+=`$PKG_CONFIG --libs gnutls` 236 CFLAGS+=`$PKG_CONFIG --cflags gnutls` 237 EOF 238 ssl=gnutls 239 ret=1 240 elif libgnutls-config --version > /dev/null 2> /dev/null; then 226 if libgnutls-config --version > /dev/null 2> /dev/null; then 241 227 cat <<EOF>>Makefile.settings 242 228 EFLAGS+=`libgnutls-config --libs` … … 292 278 elif [ "$ssl" = "nss" ]; then 293 279 detect_nss 294 elif [ "$ssl" = "sspi" ]; then295 echo296 280 elif [ "$ssl" = "openssl" ]; then 297 281 echo … … 350 334 echo 'SSL_CLIENT=ssl_'$ssl'.o' >> Makefile.settings 351 335 352 for i in $systemlibdirs; do336 for i in /lib /usr/lib /usr/local/lib; do 353 337 if [ -f $i/libresolv.a ]; then 354 338 echo '#define HAVE_RESOLV_A' >> config.h … … 402 386 403 387 if [ "$gcov" = "1" ]; then 404 echo "CFLAGS+=- -coverage" >> Makefile.settings405 echo "EFLAGS+=- -coverage" >> Makefile.settings388 echo "CFLAGS+=-ftest-coverage -fprofile-arcs" >> Makefile.settings 389 echo "EFLAGS+=-lgcov" >> Makefile.settings 406 390 fi 407 391 … … 510 494 echo 'Cygwin is not officially supported.' 511 495 ;; 512 Windows )513 echo OUTFILE=bitlbee.exe >> Makefile.settings514 echo LFLAGS+=-lwsock32 >> Makefile.settings515 echo EFLAGS+=-lsecur32 >> Makefile.settings516 ;;517 496 * ) 518 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.