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