Ticket #24614: patch-configure.diff

File patch-configure.diff, 851 bytes (added by macports@…, 15 years ago)
  • configure

    old new  
    6161else EVASGL=0
    6262fi
    6363
    64 pkgcheck libjpeg header LIBJPEG cc jconfig.h
    65 pkgcheck libtiff header LIBTIFF c++ tiffconf.h tiffio.h tiffio.hxx
     64pkgcheck libjpeg header LIBJPEG "cc $CFLAGS " jconfig.h
     65pkgcheck libtiff header LIBTIFF "c++ $CFLAGS " tiffconf.h
    6666pkgcheck libpng pkg-config LIBPNG atleast 1.2
    67 pkgcheck libungif header LIBUNGIF c++ gif_lib.h
    68 pkgcheck jasper header JASPER c++ jasper/jasper.h
    69 if pkgcheck expat header EXPAT c++ expat.h; then # just for the SVG parser
     67pkgcheck libungif header LIBUNGIF "c++ $CFLAGS " gif_lib.h
     68pkgcheck jasper header JASPER "c++ $CFLAGS " jasper/jasper.h
     69if pkgcheck expat header EXPAT "c++ $CFLAGS " expat.h; then # just for the SVG parser
    7070        var_append EXPATLIBS " " "-lexpat"
    7171fi
    7272