- Timestamp:
- 2018-03-10T11:30:39Z (7 years ago)
- Children:
- 5447c59
- Parents:
- 3f44e43 (diff), 4a9c6b0 (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
r3f44e43 r7a9d968 15 15 datadir='$prefix/share/bitlbee/' 16 16 config='/var/lib/bitlbee/' 17 libdir='$prefix/lib/' 17 18 plugindir='$prefix/lib/bitlbee/' 18 19 rpcplugindir='$plugindir/rpc/' … … 41 42 rpc=1 42 43 44 verbose=0 43 45 doc=1 44 46 debug=0 45 strip= 147 strip=0 46 48 gcov=0 47 49 asan=0 … … 129 131 --config=... $config 130 132 133 --verbose=0/1 Disable/enable verbose build $verbose 134 131 135 --msn=0/1 Disable/enable MSN part $msn 132 136 --jabber=0/1 Disable/enable Jabber part $jabber … … 174 178 datadir=$(eval echo "$datadir/" | sed 's/\/\{1,\}/\//g') 175 179 config=$(eval echo "$config/" | sed 's/\/\{1,\}/\//g') 180 libdir=$(eval echo "$libdir/" | sed 's/\/\{1,\}/\//g') 176 181 plugindir=$(eval echo "$plugindir/" | sed 's/\/\{1,\}/\//g') 177 182 rpcplugindir=$(eval echo "$rpcplugindir/" | sed 's/\/\{1,\}/\//g') … … 199 204 RPCPLUGINDIR=$rpcplugindir 200 205 CONFIG=$config 206 LIBDIR=$libdir 201 207 INCLUDEDIR=$includedir 202 208 PCDIR=$pcdir … … 248 254 #define PLUGINDIR "$plugindir" 249 255 #define RPCPLUGINDIR "$rpcplugindir" 256 #define DATADIR "$datadir" 250 257 #define PIDFILE "$pidfile" 251 258 #define IPCSOCKET "$ipcsocket" … … 296 303 fi 297 304 305 if [ "$verbose" = "0" ]; then 306 echo 'VERBOSE=@' >> Makefile.settings 307 else 308 echo 'VERBOSE=' >> Makefile.settings 309 fi 310 311 cat <<EOF >>Makefile.settings 312 313 # Enable/disable output verbosity 314 ifdef V 315 ifeq (\$(V),1) 316 VERBOSE= 317 else 318 VERBOSE=@ 319 endif 320 endif 321 322 EOF 323 298 324 if [ "$debug" = "1" ]; then 299 325 echo 'DEBUG=1' >> Makefile.settings 300 326 CFLAGS="$CFLAGS -g3 -DDEBUG -O0" 301 327 else 302 [ -z "$CFLAGS" ] && CFLAGS="- O2 -fno-strict-aliasing"328 [ -z "$CFLAGS" ] && CFLAGS="-g -O2 -fno-strict-aliasing" 303 329 fi 304 330 … … 764 790 if [ "$doc" = "1" ]; then 765 791 # check this here just in case someone tries to install it in python2.4... 766 if ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then792 if [ ! -e $srcdir/doc/user-guide/help.txt ] && ! $PYTHON -m xml.etree.ElementTree > /dev/null 2>&1; then 767 793 echo 768 794 echo 'ERROR: Python (>=2.5 or 3.x) is required to generate docs' … … 797 823 fi 798 824 825 pkgconfiglibs='' 826 case "$arch" in 827 CYGWIN* ) 828 pkgconfiglibs='-L${libdir} -lbitlbee -no-undefined' 829 esac 830 799 831 cat <<EOF >bitlbee.pc 800 832 prefix=$prefix … … 802 834 plugindir=$plugindir 803 835 rpcplugindir=$rpcplugindir 836 libdir=$libdir 837 datadir=$datadir 804 838 805 839 Name: bitlbee … … 807 841 Requires: glib-2.0 808 842 Version: $BITLBEE_VERSION 809 Libs: 843 Libs: $pkgconfiglibs 810 844 Cflags: -I\${includedir} 811 845 … … 925 959 ;; 926 960 CYGWIN* ) 961 echo 'EFLAGS+=-Wl,--export-all,--out-implib,libbitlbee.dll.a' >> Makefile.settings 962 echo 'IMPLIB=libbitlbee.dll.a' >> Makefile.settings 927 963 ;; 928 964 Windows )
Note: See TracChangeset
for help on using the changeset viewer.