-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
-$as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
-if ${libltdl_cv_preloaded_symbols+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$lt_cv_sys_global_symbol_pipe"; then
- libltdl_cv_preloaded_symbols=yes
- else
- libltdl_cv_preloaded_symbols=no
- fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
-$as_echo "$libltdl_cv_preloaded_symbols" >&6; }
-if test x"$libltdl_cv_preloaded_symbols" = xyes; then
-
-$as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
-
-fi
-
-# Set options
-
-
-
-
-
-
-
-
-
-
-
-# Check whether --with-included_ltdl was given.
-if test "${with_included_ltdl+set}" = set; then :
- withval=$with_included_ltdl;
-fi
-
-
-if test "x$with_included_ltdl" != xyes; then
- # We are not being forced to use the included libltdl sources, so
- # decide whether there is a useful installed version we can use.
- ac_fn_c_check_header_compile "$LINENO" "ltdl.h" "ac_cv_header_ltdl_h" "$ac_includes_default
-
-"
-if test "x$ac_cv_header_ltdl_h" = xyes; then :
- ac_fn_c_check_decl "$LINENO" "lt_dlinterface_register" "ac_cv_have_decl_lt_dlinterface_register" "$ac_includes_default
- #include <ltdl.h>
-"
-if test "x$ac_cv_have_decl_lt_dlinterface_register" = xyes; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lt_dladvise_preload in -lltdl" >&5
-$as_echo_n "checking for lt_dladvise_preload in -lltdl... " >&6; }
-if ${ac_cv_lib_ltdl_lt_dladvise_preload+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lltdl $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char lt_dladvise_preload ();
-int
-main ()
-{
-return lt_dladvise_preload ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_ltdl_lt_dladvise_preload=yes
-else
- ac_cv_lib_ltdl_lt_dladvise_preload=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
-$as_echo "$ac_cv_lib_ltdl_lt_dladvise_preload" >&6; }
-if test "x$ac_cv_lib_ltdl_lt_dladvise_preload" = xyes; then :
- with_included_ltdl=no
-else
- with_included_ltdl=yes
-fi
-
-else
- with_included_ltdl=yes
-fi
-
-else
- with_included_ltdl=yes
-fi
-
-
-fi
-
-
-
-
-# Check whether --with-ltdl_include was given.
-if test "${with_ltdl_include+set}" = set; then :
- withval=$with_ltdl_include;
-fi
-
-
-if test -n "$with_ltdl_include"; then
- if test -f "$with_ltdl_include/ltdl.h"; then :
- else
- as_fn_error $? "invalid ltdl include directory: \`$with_ltdl_include'" "$LINENO" 5
- fi
-else
- with_ltdl_include=no
-fi
-
-
-# Check whether --with-ltdl_lib was given.
-if test "${with_ltdl_lib+set}" = set; then :
- withval=$with_ltdl_lib;
-fi
-
-
-if test -n "$with_ltdl_lib"; then
- if test -f "$with_ltdl_lib/libltdl.la"; then :
- else
- as_fn_error $? "invalid ltdl library directory: \`$with_ltdl_lib'" "$LINENO" 5
- fi
-else
- with_ltdl_lib=no
-fi
-
-case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
- ,yes,no,no,)
- case $enable_ltdl_convenience in
- no) as_fn_error $? "this package needs a convenience libltdl" "$LINENO" 5 ;;
- "") enable_ltdl_convenience=yes
- ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
-esac
-LIBLTDL='${top_build_prefix}'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
-LTDLDEPS=$LIBLTDL
-LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
-
-
-
-
-
-# For backwards non-gettext consistent compatibility...
-INCLTDL="$LTDLINCL"
-
-
- ;;
- ,no,no,no,)
- # If the included ltdl is not to be used, then use the
- # preinstalled libltdl we found.
-
-$as_echo "#define HAVE_LTDL 1" >>confdefs.h
-
- LIBLTDL=-lltdl
- LTDLDEPS=
- LTDLINCL=
- ;;
- ,no*,no,*)
- as_fn_error $? "\`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" "$LINENO" 5
- ;;
- *) with_included_ltdl=no
- LIBLTDL="-L$with_ltdl_lib -lltdl"
- LTDLDEPS=
- LTDLINCL="-I$with_ltdl_include"
- ;;
-esac
-INCLTDL="$LTDLINCL"
-
-# Report our decision...
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl headers" >&5
-$as_echo_n "checking where to find libltdl headers... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LTDLINCL" >&5
-$as_echo "$LTDLINCL" >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to find libltdl library" >&5
-$as_echo_n "checking where to find libltdl library... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBLTDL" >&5
-$as_echo "$LIBLTDL" >&6; }
-
-
-
-# Check whether --enable-ltdl-install was given.
-if test "${enable_ltdl_install+set}" = set; then :
- enableval=$enable_ltdl_install;
-fi
-
-
-case ,${enable_ltdl_install},${enable_ltdl_convenience} in
- *yes*) ;;
- *) enable_ltdl_convenience=yes ;;
-esac
-
- if test x"${enable_ltdl_install-no}" != xno; then
- INSTALL_LTDL_TRUE=
- INSTALL_LTDL_FALSE='#'
-else
- INSTALL_LTDL_TRUE='#'
- INSTALL_LTDL_FALSE=
-fi
-
- if test x"${enable_ltdl_convenience-no}" != xno; then
- CONVENIENCE_LTDL_TRUE=
- CONVENIENCE_LTDL_FALSE='#'
-else
- CONVENIENCE_LTDL_TRUE='#'
- CONVENIENCE_LTDL_FALSE=
-fi
-
-
-
-
-
-
-# In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
-# the user used. This is so that ltdl.h can pick up the parent projects
-# config.h file, The first file in AC_CONFIG_HEADERS must contain the
-# definitions required by ltdl.c.
-# FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
-
-
-
-for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-for ac_func in closedir opendir readdir
-do :
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-else
-
-
- _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
-
-fi
-done
-
-for ac_func in strlcat strlcpy
-do :
- as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-else
-
-
- _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
-
-fi
-done
-
-
-
-cat >>confdefs.h <<_ACEOF
-#define LT_LIBEXT "$libext"
-_ACEOF
-
-
-name=
-eval "lt_libprefix=\"$libname_spec\""
-
-cat >>confdefs.h <<_ACEOF
-#define LT_LIBPREFIX "$lt_libprefix"
-_ACEOF
-
-
-name=ltdl
-eval "LTDLOPEN=\"$libname_spec\""
-
-
-
-
-
-
-
-
-# Only expand once:
-
-
-
-# Check to see if building shared libraries
-libtool_build_shared_libs='no'
-if test "$enable_shared" = 'yes'; then
- libtool_build_shared_libs='yes'
-fi
-
-# Check to see if building static libraries
-libtool_build_static_libs='no'
-if test "$enable_static" = 'yes'; then
- libtool_build_static_libs='yes'
-fi
-
- if test "${libtool_build_shared_libs}" = 'yes'; then
- WITH_SHARED_LIBS_TRUE=
- WITH_SHARED_LIBS_FALSE='#'
-else
- WITH_SHARED_LIBS_TRUE='#'
- WITH_SHARED_LIBS_FALSE=
-fi
-
-#
-# Enable support for building loadable modules
-#
-
-# Check whether --with-modules was given.
-if test "${with_modules+set}" = set; then :
- withval=$with_modules; with_modules=$withval
-else
- with_modules='no'
-fi
-
-
-# Only allow building loadable modules if we are building shared libraries
-if test "$with_modules" != 'no' ; then
- if test "$libtool_build_shared_libs" = 'no'; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Modules may only be built if building shared libraries is enabled." >&5
-$as_echo "$as_me: WARNING: Modules may only be built if building shared libraries is enabled." >&2;}
- with_modules='no'
- fi
-fi
-if test "$with_modules" != 'no'; then
-
-$as_echo "#define BUILD_MODULES 1" >>confdefs.h
-
-fi
- if test "$with_modules" != 'no'; then
- WITH_MODULES_TRUE=
- WITH_MODULES_FALSE='#'
-else
- WITH_MODULES_TRUE='#'
- WITH_MODULES_FALSE=
-fi
-
-
-# Enable building/use of libltdl if we are building shared libraries regardless
-# of whether modules are built or not.
-with_ltdl='no'
-if test "$libtool_build_shared_libs" != 'no'; then
- with_ltdl='yes'
-fi
-
- if test "$with_ltdl" != 'no'; then
- WITH_LTDL_TRUE=
- WITH_LTDL_FALSE='#'
-else
- WITH_LTDL_TRUE='#'
- WITH_LTDL_FALSE=
-fi
-
-if test "$with_ltdl" != 'no'; then
-
-$as_echo "#define LTDL_DELEGATE 1" >>confdefs.h
-
-
- # Set DLLDFLAGS
- if test X"$enable_shared" = Xyes; then
- DLLDFLAGS=-export-dynamic
-
- fi
-fi
-
-# Enable build using delegate libraries built in subdirectories rather than installed
-# delegate libraries (bzlib fftw fpx gslib jp2 jbig jpeg lcms lzma png tiff ttf wmf xml zlib)
-# Check whether --enable-delegate-build was given.
-if test "${enable_delegate_build+set}" = set; then :
- enableval=$enable_delegate_build; enable_delegate_build=$enableval
-else
- enable_delegate_build='no'
-fi
-
-
-# Check whether --enable-deprecated was given.
-if test "${enable_deprecated+set}" = set; then :
- enableval=$enable_deprecated; enable_deprecated=$enableval
-else
- enable_deprecated='no'
-fi
-
-
-if test "$enable_deprecated" = 'yes'; then
-
-$as_echo "#define EXCLUDE_DEPRECATED 1" >>confdefs.h
-
-else
- DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-deprecated "
-fi
-
-# Build a version of ImageMagick which operates uninstalled.
-# Used to build distributions located via MAGICK_HOME / executable path
-# Check whether --enable-installed was given.
-if test "${enable_installed+set}" = set; then :
- enableval=$enable_installed; enable_installed=$enableval
-else
- enable_installed='yes'
-fi
-
-
-if test "$enable_installed" = 'yes'; then
-
-$as_echo "#define INSTALLED_SUPPORT 1" >>confdefs.h
-
-else
- DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-installed "
-fi
-
-# Permit enciphering and deciphering image pixels.
-# Check whether --enable-cipher was given.
-if test "${enable_cipher+set}" = set; then :
- enableval=$enable_cipher; enable_cipher=$enableval
-else
- enable_cipher='yes'
-fi
-
-
-if test "$enable_cipher" = 'yes'; then
-
-$as_echo "#define CIPHER_SUPPORT 1" >>confdefs.h
-
-fi
-
-# Build an embeddable version of ImageMagick.
-# Check whether --enable-embeddable was given.
-if test "${enable_embeddable+set}" = set; then :
- enableval=$enable_embeddable; enable_embeddable=$enableval
-else
- enable_embeddable='no'
-fi
-
-
-if test "$enable_embeddable" = 'yes'; then
-
-$as_echo "#define EMBEDDABLE_SUPPORT 1" >>confdefs.h
-
-fi
-
-# Build a high dynamic range version of ImageMagick.
-# Check whether --enable-hdri was given.
-if test "${enable_hdri+set}" = set; then :
- enableval=$enable_hdri; enable_hdri=$enableval
-else
- enable_hdri='no'
-fi
-
-
-MAGICK_HDRI=""
-if test "$enable_hdri" = 'yes'; then
- MAGICK_HDRI="HDRI"
-
-$as_echo "#define HDRI_SUPPORT 1" >>confdefs.h
-
- MAGICK_FEATURES="HDRI $MAGICK_FEATURES"
-fi
-
-# Build a version of ImageMagick with assert statements.
-# Check whether --enable-assert was given.
-if test "${enable_assert+set}" = set; then :
- enableval=$enable_assert; enable_assert=$enableval
-else
- enable_assert='yes'
-fi
-
-
-if test "$enable_assert" = 'no'; then
-
-$as_echo "#define NDEBUG 1" >>confdefs.h
-
-fi
-
-# Add configure option --enable-maintainer-mode which enables dependency
-# checking and generation useful to package maintainers. This is made an
-# option to avoid confusing end users.
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
-
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-
-
-# Enable ccmalloc memory debugging support
-# Check whether --enable-ccmalloc was given.
-if test "${enable_ccmalloc+set}" = set; then :
- enableval=$enable_ccmalloc; enable_ccmalloc=$enableval
-else
- enable_ccmalloc='no'
-fi
-
-
-# Enable Electric Fence memory debugging support
-# Check whether --enable-efence was given.
-if test "${enable_efence+set}" = set; then :
- enableval=$enable_efence; enable_efence=$enableval
-else
- enable_efence='no'
-fi
-
-
-# Enable prof-based profiling support
-# Check whether --enable-prof was given.
-if test "${enable_prof+set}" = set; then :
- enableval=$enable_prof; enable_prof=$enableval
-else
- enable_prof='no'
-fi
-
-
-# Enable gprof-based profiling support
-# Check whether --enable-gprof was given.
-if test "${enable_gprof+set}" = set; then :
- enableval=$enable_gprof; enable_gprof=$enableval
-else
- enable_gprof='no'
-fi
-
-
-# Enable gcov-based profiling support
-# Check whether --enable-gcov was given.
-if test "${enable_gcov+set}" = set; then :
- enableval=$enable_gcov; enable_gcov=$enableval
-else
- enable_gcov='no'
-fi
-
-
-enable_profiling='no'
-if test "$enable_prof" = 'yes' || test "$enable_gprof" = 'yes' || test "$enable_gcov" = 'yes'; then
- enable_profiling='yes'
- if test "$libtool_build_shared_libs" = 'yes'; then
- echo "Warning: Can not profile code using shared libraries"
- fi
-fi
-
-# Magick API method prefix
-
-# Check whether --with-method-prefix was given.
-if test "${with_method_prefix+set}" = set; then :
- withval=$with_method_prefix; with_method_prefix=$enableval
-else
- with_method_prefix=''
-fi
-
-
-if test "$with_method_prefix" != ''; then
-
-cat >>confdefs.h <<_ACEOF
-#define NAMESPACE_PREFIX $with_method_prefix
-_ACEOF
-
-fi
-