Ticket #37490: patch-configure.ac.diff
File patch-configure.ac.diff, 950 bytes (added by jdgleeson, 12 years ago) |
---|
-
configure.ac
old new 41 41 AC_SUBST([XTRA_LDFLAGS]) 42 42 43 43 AC_PROG_CC 44 AM_PROG_CC_STDC45 44 AC_PROG_INSTALL 46 45 AC_PROG_LIBTOOL 47 46 AC_PROG_LN_S … … 350 349 # authors decide to do this AGAIN. Which I really hope they won't. TBB 351 350 352 351 if test "$withval" != no; then 353 AC_PATH_PROG([LIBPNG12_CONFIG], [libpng12-config])354 352 AC_PATH_PROG([LIBPNG_CONFIG], [libpng-config]) 355 if test -n "$LIBPNG12_CONFIG"; then 356 libpng_CPPFLAGS=`libpng12-config --cflags` 357 # should be --ldopts, but it's currently broken 358 libpng_LDFLAGS=`libpng12-config --ldflags` 359 libpng_LDFLAGS=`echo " $libpng_LDFLAGS" | sed 's/ -l[[^ ]][[^ ]]*//g'` 360 elif test -n "$LIBPNG_CONFIG"; then 353 if test -n "$LIBPNG_CONFIG"; then 361 354 libpng_CPPFLAGS=`libpng-config --cflags` 362 355 # should be --ldopts, but it's currently broken 363 356 libpng_LDFLAGS=`libpng-config --ldflags`