diff --git a/chalk/configure.in.in b/chalk/configure.in.in index 78702ad13..941b0747f 100644 --- a/chalk/configure.in.in +++ b/chalk/configure.in.in @@ -48,7 +48,7 @@ else fi -ac_link='$LIBTOOL_SHELL --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries -ltqt conftest.$ac_ext -llcms 1>&5' +ac_link='$LIBTOOL_SHELL --mode=link --tag=LD ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext -llcms 1>&5' if AC_TRY_EVAL(ac_link) && test -s conftest; then AC_MSG_RESULT(yes) @@ -68,8 +68,6 @@ AC_SUBST(LCMS_LIBS) AC_MSG_CHECKING(if GetMagickInfoList has only 2 arguments) CPPFLAGS_TMP="$CPPFLAGS" # Save preprocessor flags CPPFLAGS="$LIBMAGICK_CPPFLAGS" -LDFLAGS_TMP="$LDFLAGS" -LDFLAGS="$LDFLAGS -ltqt" AC_TRY_COMPILE( [#include @@ -82,7 +80,6 @@ AC_TRY_COMPILE( magick_info_list='no') CPPFLAGS="$CPPFLAGS_TMP" # Restore preprocessor flags -LDFLAGS="$LDFLAGS_TMP" if test "$magick_info_list" = 'yes'; then AC_MSG_RESULT(yes)