|
|
@ -48,7 +48,7 @@ else
|
|
|
|
fi
|
|
|
|
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
|
|
|
|
if AC_TRY_EVAL(ac_link) && test -s conftest; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
@ -68,8 +68,6 @@ AC_SUBST(LCMS_LIBS)
|
|
|
|
AC_MSG_CHECKING(if GetMagickInfoList has only 2 arguments)
|
|
|
|
AC_MSG_CHECKING(if GetMagickInfoList has only 2 arguments)
|
|
|
|
CPPFLAGS_TMP="$CPPFLAGS" # Save preprocessor flags
|
|
|
|
CPPFLAGS_TMP="$CPPFLAGS" # Save preprocessor flags
|
|
|
|
CPPFLAGS="$LIBMAGICK_CPPFLAGS"
|
|
|
|
CPPFLAGS="$LIBMAGICK_CPPFLAGS"
|
|
|
|
LDFLAGS_TMP="$LDFLAGS"
|
|
|
|
|
|
|
|
LDFLAGS="$LDFLAGS -ltqt"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include <stdio.h>
|
|
|
|
[#include <stdio.h>
|
|
|
@ -82,7 +80,6 @@ AC_TRY_COMPILE(
|
|
|
|
magick_info_list='no')
|
|
|
|
magick_info_list='no')
|
|
|
|
|
|
|
|
|
|
|
|
CPPFLAGS="$CPPFLAGS_TMP" # Restore preprocessor flags
|
|
|
|
CPPFLAGS="$CPPFLAGS_TMP" # Restore preprocessor flags
|
|
|
|
LDFLAGS="$LDFLAGS_TMP"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "$magick_info_list" = 'yes'; then
|
|
|
|
if test "$magick_info_list" = 'yes'; then
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|
AC_MSG_RESULT(yes)
|
|
|
|