- Timestamp:
- 2011-12-17T13:50:01Z (13 years ago)
- Branches:
- master
- Children:
- 18c6d36
- Parents:
- 87dddee (diff), 17f057d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r87dddee r6e9ae72 9 9 10 10 prefix='/usr/local/' 11 bindir='$prefix/sbin/' 11 bindir='$prefix/bin/' 12 sbindir='$prefix/sbin/' 12 13 etcdir='$prefix/etc/bitlbee/' 13 14 mandir='$prefix/share/man/' … … 19 20 libevent='/usr/' 20 21 pidfile='/var/run/bitlbee.pid' 21 ipcsocket=' /var/run/bitlbee.sock'22 ipcsocket='' 22 23 pcdir='$prefix/lib/pkgconfig' 23 24 systemlibdirs="/lib /lib64 /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64" … … 28 29 yahoo=1 29 30 twitter=1 30 twitter=131 31 purple=0 32 32 … … 36 36 plugins=1 37 37 otr=0 38 skype=0 38 39 39 40 events=glib … … 59 60 --prefix=... Directories to put files in $prefix 60 61 --bindir=... $bindir 62 --sbindir=... $sbindir 61 63 --etcdir=... $etcdir 62 64 --mandir=... $mandir … … 66 68 --pidfile=... $pidfile 67 69 --config=... $config 68 --ipcsocket=... $ipcsocket69 70 70 71 --msn=0/1 Disable/enable MSN part $msn … … 83 84 --otr=0/1/auto/plugin 84 85 Disable/enable OTR encryption support $otr 86 --skype=0/1/plugin 87 Disable/enable Skype support $skype 85 88 86 89 --events=... Event handler (glib, libevent) $events … … 98 101 # Expand $prefix and get rid of double slashes 99 102 bindir=`eval echo "$bindir/" | sed 's/\/\{1,\}/\//g'` 103 sbindir=`eval echo "$sbindir/" | sed 's/\/\{1,\}/\//g'` 100 104 etcdir=`eval echo "$etcdir/" | sed 's/\/\{1,\}/\//g'` 101 105 mandir=`eval echo "$mandir/" | sed 's/\/\{1,\}/\//g'` … … 110 114 pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` 111 115 116 protocols_mods="" 117 112 118 cat<<EOF>Makefile.settings 113 119 ## BitlBee settings, generated by configure 114 120 PREFIX=$prefix 115 121 BINDIR=$bindir 122 SBINDIR=$sbindir 116 123 ETCDIR=$etcdir 117 124 MANDIR=$mandir … … 323 330 324 331 RESOLV_TESTCODE=' 332 #include <sys/types.h> 333 #include <netinet/in.h> 325 334 #include <arpa/nameser.h> 326 335 #include <resolv.h> … … 335 344 detect_resolv_dynamic() 336 345 { 346 case "$arch" in 347 FreeBSD ) 348 # In FreeBSD res_* routines are present in libc.so 349 LIBRESOLV=;; 350 * ) 351 LIBRESOLV=-lresolv;; 352 esac 337 353 TMPFILE=$(mktemp /tmp/bitlbee-configure.XXXXXX) 338 354 ret=1 339 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - -lresolv>/dev/null 2>/dev/null355 echo "$RESOLV_TESTCODE" | $CC -o $TMPFILE -x c - $LIBRESOLV >/dev/null 2>/dev/null 340 356 if [ "$?" = "0" ]; then 341 echo 'EFLAGS+=-lresolv'>> Makefile.settings357 echo "EFLAGS+=$LIBRESOLV" >> Makefile.settings 342 358 ret=0 343 359 fi … … 538 554 fi 539 555 556 if [ "$skype" = "1" -o "$skype" = "plugin" ]; then 557 echo 'SKYPE_PI=skype.so' >> Makefile.settings 558 protocols_mods="$protocol_mods skype(plugin)" 559 fi 560 540 561 if [ ! -e doc/user-guide/help.txt ] && ! type xmlto > /dev/null 2> /dev/null; then 541 562 echo … … 751 772 752 773 if [ -n "$protocols" ]; then 753 echo ' Building with these protocols:' $protocols 774 echo ' Building with these protocols:' $protocols$protocols_mods 754 775 case "$protocols" in 755 776 *purple*)
Note: See TracChangeset
for help on using the changeset viewer.