libpng-config: get I_opts and not the whole cflags, which break debug builds

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35090 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Riccardo Mottola 2012-04-18 22:37:54 +00:00
parent 323e1dc02f
commit 886d67d0f5
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-04-19 Riccardo Mottola <rm@gnu.org>
* configure
* configure.ac
libpng-config: get I_opts and not the whole cflags, which break debug builds
2012-04-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTabView.m (+initialize): Increase version number.

2
configure vendored
View file

@ -5006,7 +5006,7 @@ fi
if test "$HAVE_LIBPNG_CONFIG" = "yes"; then
PNG_CFLAGS="`libpng-config --cflags`"
PNG_CFLAGS="`libpng-config --I_opts`"
PNG_LDFLAGS="`libpng-config --ldflags`"
CFLAGS="$PNG_CFLAGS ${CFLAGS}"
LDFLAGS="$PNG_LDFLAGS ${LDFLAGS}"

View file

@ -242,7 +242,7 @@ if test $enable_png = yes; then
# use libpng-config if available
AC_CHECK_PROG(HAVE_LIBPNG_CONFIG, [libpng-config], yes)
if test "$HAVE_LIBPNG_CONFIG" = "yes"; then
PNG_CFLAGS="`libpng-config --cflags`"
PNG_CFLAGS="`libpng-config --I_opts`"
PNG_LDFLAGS="`libpng-config --ldflags`"
CFLAGS="$PNG_CFLAGS ${CFLAGS}"
LDFLAGS="$PNG_LDFLAGS ${LDFLAGS}"