Changes in configure [b5a22e3:34b17d9]
Legend:
- Unmodified
- Added
- Removed
-
configure
rb5a22e3 r34b17d9 14 14 datadir='$prefix/share/bitlbee/' 15 15 config='/var/lib/bitlbee/' 16 pidfile='/var/run/bitlbee.pid' 16 17 plugindir='$prefix/lib/bitlbee' 17 18 … … 23 24 debug=0 24 25 strip=1 25 flood=026 26 ipv6=1 27 27 ssl=auto … … 47 47 --datadir=... $datadir 48 48 --plugindir=... $plugindir 49 --pidfile=... $pidfile 49 50 --config=... $config 50 51 … … 75 76 config=`eval echo "$config/" | sed 's/\/\{1,\}/\//g'` 76 77 plugindir=`eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g'` 78 pidfile=`eval echo "$pidfile/" | sed 's/\/\{1,\}/\//g'` 77 79 78 80 cat<<EOF>Makefile.settings … … 84 86 DATADIR=$datadir 85 87 PLUGINDIR=$plugindir 88 PIDFILE=$pidfile 86 89 CONFIG=$config 87 90 … … 105 108 #define VARDIR "$datadir" 106 109 #define PLUGINDIR "$plugindir" 110 #define PIDFILE "$pidfile" 107 111 #define ARCH "$arch" 108 112 #define CPU "$cpu" … … 145 149 fi 146 150 147 if type pkg-config > /dev/null 2>/dev/null && pkg-config glib-2.0; then 151 if [ -z "$PKG_CONFIG" ]; then 152 PKG_CONFIG=pkg-config 153 fi 154 155 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG glib-2.0; then 148 156 cat<<EOF>>Makefile.settings 149 EFLAGS+=` pkg-config--libs glib-2.0 gmodule-2.0`150 CFLAGS+=` pkg-config--cflags glib-2.0 gmodule-2.0`157 EFLAGS+=`$PKG_CONFIG --libs glib-2.0 gmodule-2.0` 158 CFLAGS+=`$PKG_CONFIG --cflags glib-2.0 gmodule-2.0` 151 159 EOF 152 160 echo '#define GLIB2' >> config.h … … 190 198 detect_nss() 191 199 { 192 if type pkg-config > /dev/null 2>/dev/null && pkg-configmozilla-nss; then200 if $PKG_CONFIG --version > /dev/null 2>/dev/null && $PKG_CONFIG mozilla-nss; then 193 201 cat<<EOF>>Makefile.settings 194 EFLAGS+=` pkg-config--libs mozilla-nss`195 CFLAGS+=` pkg-config--cflags mozilla-nss`202 EFLAGS+=`$PKG_CONFIG --libs mozilla-nss` 203 CFLAGS+=`$PKG_CONFIG --cflags mozilla-nss` 196 204 EOF 197 205 … … 285 293 fi 286 294 287 if [ "$flood" = 1 ]; then 288 # echo '#define FLOOD_SEND' >> config.h 289 echo 'Flood protection is disabled in this release because of too many bugs.' 2> /dev/stderr 290 rm config.h 291 rm Makefile.settings 292 exit 1 295 echo 296 if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then 297 rev=`bzr revno` 298 echo 'Using bzr revision #'$rev' as version number' 299 BITLBEE_VERSION=\"bzr-$rev\" 293 300 fi 294 301 295 302 if [ -n "$BITLBEE_VERSION" ]; then 296 echo297 303 echo 'Spoofing version number: '$BITLBEE_VERSION 298 304 echo '#undef BITLBEE_VERSION' >> config.h 299 echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h; 305 echo '#define BITLBEE_VERSION '$BITLBEE_VERSION >> config.h 306 echo 300 307 fi 301 308 … … 336 343 337 344 if [ "$protocols" = "PROTOCOLS = " ]; then 338 echo339 345 echo "WARNING: You haven't selected any communication protocol to compile!" 340 346 echo " Bitlbee will run, but you will be unable to connect to IM servers!" … … 344 350 echo "PROTOOBJS = $protoobjs" >> Makefile.settings 345 351 346 echo347 352 echo Architecture: $arch 348 353 case "$arch" in
Note: See TracChangeset
for help on using the changeset viewer.