Changes in configure [a7baf40:ad66dcd]
Legend:
- Unmodified
- Added
- Removed
-
configure
ra7baf40 rad66dcd 15 15 datadir='$prefix/share/bitlbee/' 16 16 config='/var/lib/bitlbee/' 17 libdir='$prefix/lib/' 17 18 plugindir='$prefix/lib/bitlbee/' 18 19 includedir='$prefix/include/bitlbee/' … … 39 40 purple=0 40 41 42 verbose=0 41 43 doc=1 42 44 debug=0 43 strip= 145 strip=0 44 46 gcov=0 45 47 asan=0 … … 125 127 --pidfile=... $pidfile 126 128 --config=... $config 129 130 --verbose=0/1 Disable/enable verbose build $verbose 127 131 128 132 --msn=0/1 Disable/enable MSN part $msn … … 170 174 datadir=$(eval echo "$datadir/" | sed 's/\/\{1,\}/\//g') 171 175 config=$(eval echo "$config/" | sed 's/\/\{1,\}/\//g') 176 libdir=$(eval echo "$libdir/" | sed 's/\/\{1,\}/\//g') 172 177 plugindir=$(eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g') 173 178 includedir=$(eval echo "$includedir"/ | sed 's/\/\{1,\}/\//g') … … 193 198 PLUGINDIR=$plugindir 194 199 CONFIG=$config 200 LIBDIR=$libdir 195 201 INCLUDEDIR=$includedir 196 202 PCDIR=$pcdir … … 241 247 #define VARDIR "$datadir" 242 248 #define PLUGINDIR "$plugindir" 249 #define DATADIR "$datadir" 243 250 #define PIDFILE "$pidfile" 244 251 #define IPCSOCKET "$ipcsocket" … … 283 290 fi 284 291 292 if [ "$verbose" = "0" ]; then 293 echo 'VERBOSE=@' >> Makefile.settings 294 else 295 echo 'VERBOSE=' >> Makefile.settings 296 fi 297 298 cat <<EOF >>Makefile.settings 299 300 # Enable/disable output verbosity 301 ifdef V 302 ifeq (\$(V),1) 303 VERBOSE= 304 else 305 VERBOSE=@ 306 endif 307 endif 308 309 EOF 310 285 311 if [ "$debug" = "1" ]; then 286 312 echo 'DEBUG=1' >> Makefile.settings 287 313 CFLAGS="$CFLAGS -g3 -DDEBUG -O0" 288 314 else 289 [ -z "$CFLAGS" ] && CFLAGS="- O2 -fno-strict-aliasing"315 [ -z "$CFLAGS" ] && CFLAGS="-g -O2 -fno-strict-aliasing" 290 316 fi 291 317 … … 745 771 if [ "$doc" = "1" ]; then 746 772 # check this here just in case someone tries to install it in python2.4... 747 if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then773 if [ ! -e $srcdir/doc/user-guide/help.txt ] && ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then 748 774 echo 749 775 echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs' … … 778 804 fi 779 805 806 pkgconfiglibs='' 807 case "$arch" in 808 CYGWIN* ) 809 pkgconfiglibs='-L${libdir} -lbitlbee -no-undefined' 810 esac 811 780 812 cat <<EOF >bitlbee.pc 781 813 prefix=$prefix 782 814 includedir=$includedir 783 815 plugindir=$plugindir 816 libdir=$libdir 817 datadir=$datadir 784 818 785 819 Name: bitlbee … … 787 821 Requires: glib-2.0 788 822 Version: $BITLBEE_VERSION 789 Libs: 823 Libs: $pkgconfiglibs 790 824 Cflags: -I\${includedir} 791 825 … … 897 931 ;; 898 932 CYGWIN* ) 933 echo 'EFLAGS+=-Wl,--export-all,--out-implib,libbitlbee.dll.a' >> Makefile.settings 934 echo 'IMPLIB=libbitlbee.dll.a' >> Makefile.settings 899 935 ;; 900 936 Windows )
Note: See TracChangeset
for help on using the changeset viewer.