Ticket #27598: patch-configure.diff

File patch-configure.diff, 708 bytes (added by chris@…, 13 years ago)

Updated patch-configure.diff that fixes the problem

  • configure

    old new  
    188188        [ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing"
    189189fi
    190190
     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#
     195BITLBEE_CPPPATH="-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I."
     196ORIG_CPPFLAGS="$CPPFLAGS"
     197CPPFLAGS="$BITLBEE_CPPPATH $ORIG_CPPFLAGS"
    191198echo CFLAGS=$CFLAGS $CPPFLAGS >> Makefile.settings
    192 echo CFLAGS+=-I${srcdir} -I${srcdir}/lib -I${srcdir}/protocols -I. >> Makefile.settings
    193199
    194200echo CFLAGS+=-DHAVE_CONFIG_H >> Makefile.settings
     201echo CC=${CC} >> Makefile.settings
    195202
    196203if [ -n "$CC" ]; then
    197204        CC=$CC