- Timestamp:
- 2006-06-21T16:34:33Z (19 years ago)
- Branches:
- master
- Children:
- 59f5c42a
- Parents:
- 3af70b0 (diff), df417ca (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
r3af70b0 rb72caac 14 14 datadir='$prefix/share/bitlbee/' 15 15 config='/var/lib/bitlbee/' 16 plugindir='$prefix/lib/bitlbee/' 17 includedir='$prefix/include/bitlbee/' 18 libevent='/usr/' 16 19 pidfile='/var/run/bitlbee.pid' 17 20 ipcsocket='/var/run/bitlbee' 18 plugindir='$prefix/lib/bitlbee'19 21 pcdir='$prefix/lib/pkgconfig' 20 includedir='$prefix/include/bitlbee'21 22 22 23 msn=1 … … 28 29 strip=1 29 30 ipv6=1 31 32 events=glib 30 33 ssl=auto 31 34 … … 64 67 --ipv6=0/1 IPv6 socket support $ipv6 65 68 69 --events=... Event handler (glib, libevent) $events 66 70 --ssl=... SSL library to use (gnutls, nss, openssl, bogus, auto) 67 71 $ssl … … 80 84 config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` 81 85 plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` 86 includedir=`eval echo "$includedir"/ | sed 's/\/\{1,\}/\//g'` 87 libevent=`eval echo "$libevent"/ | sed 's/\/\{1,\}/\//g'` 88 82 89 pidfile=`eval echo "$pidfile" | sed 's/\/\{1,\}/\//g'` 83 90 ipcsocket=`eval echo "$ipcsocket" | sed 's/\/\{1,\}/\//g'` 84 includedir=`eval echo "$includedir" | sed 's/\/\{1,\}/\//g'`85 91 pcdir=`eval echo "$pcdir" | sed 's/\/\{1,\}/\//g'` 86 92 … … 173 179 fi 174 180 181 if [ "$events" = "libevent" ]; then 182 if ! [ -e "${libevent}include/event.h" ]; then 183 echo 184 echo 'Warning: Could not find event.h, you might have to install it and/or specify' 185 echo 'its location using the --libevent= argument. (Example: If event.h is in' 186 echo '/usr/local/include and binaries are in /usr/local/lib: --libevent=/usr/local)' 187 fi 188 189 echo '#define EVENTS_LIBEVENT' >> config.h 190 cat <<EOF>>Makefile.settings 191 EFLAGS+=-levent -L${libevent}lib 192 CFLAGS+=-I${libevent}include 193 EOF 194 elif [ "$events" = "glib" ]; then 195 ## We already use glib anyway, so this is all we need (and in fact not even this, but just to be sure...): 196 echo '#define EVENTS_GLIB' >> config.h 197 else 198 echo 199 echo 'ERROR: Unknown event handler specified.' 200 exit 1 201 fi 202 echo 'EVENT_HANDLER=events_'$events'.o' >> Makefile.settings 203 175 204 detect_gnutls() 176 205 { … … 401 430 fi 402 431 403 if [ "$msn" = "1" ]; then 404 echo ' Using SSL library: '$ssl; 405 fi 432 echo ' Using event handler: '$events; 433 echo ' Using SSL library: '$ssl; 406 434 407 435 #if [ "$flood" = "0" ]; then
Note: See TracChangeset
for help on using the changeset viewer.