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