Ticket #27598: patch-configure.diff
File patch-configure.diff, 708 bytes (added by chris@…, 14 years ago) |
---|
-
configure
old new 188 188 [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing" 189 189 fi 190 190 191 # 192 # If we don't do this, proxy.h can be shadowed by /opt/local/include/proxy.h 193 # from the libproxy port. 194 # 195 BITLBEE_CPPPATH="-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I." 196 ORIG_CPPFLAGS="$CPPFLAGS" 197 CPPFLAGS="$BITLBEE_CPPPATH $ORIG_CPPFLAGS" 191 198 echo CFLAGS=$CFLAGS $CPPFLAGS >> Makefile.settings 192 echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings193 199 194 200 echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings 201 echo CC=${CC} >> Makefile.settings 195 202 196 203 if [ -n "$CC" ]; then 197 204 CC=$CC