Lines Matching +full:- +full:- +full:enable +full:- +full:hdri
1 # Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization
15 # Copyright (C) 2003 - 2008 GraphicsMagick Group
29 [magick_base_version-magick_patchlevel_version])
34 c=$(git log --full-history --format=tformat:. HEAD | wc -l)
35 h=$(git rev-parse --short HEAD)
41 d=$(date +%F -r ./ChangeLog)
53 AC_REQUIRE_AUX_FILE([tap-driver.sh])
56 AX_PREFIX_CONFIG_H([MagickCore/magick-baseconfig.h],[MagickCore])
60 …UTOMAKE([foreign no-define color-tests parallel-tests -Wall -Wno-portability subdir-objects dist-b…
66 # Save initial user-tunable values
109 [`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE`])
117 [`expr $MAGICKPP_LIBRARY_CURRENT - $MAGICKPP_LIBRARY_AGE`])
123 AC_SUBST([PACKAGE_VERSION_ADDENDUM],[-magick_patchlevel_version])
133 if test ${MAGICK_LIBRARY_CURRENT} -lt 10 ; then
137 if test ${MAGICK_LIBRARY_AGE} -lt 10 ; then
141 if test ${MAGICK_LIBRARY_REVISION} -lt 10 ; then
156 if test ${MAGICKPP_LIBRARY_CURRENT} -lt 10 ; then
160 if test ${MAGICKPP_LIBRARY_AGE} -lt 10 ; then
164 if test ${MAGICKPP_LIBRARY_REVISION} -lt 10 ; then
264 # Enable OS features.
297 CFLAGS="$CFLAGS -fexceptions"
309 # Enable run-time checking.
311 AC_ARG_ENABLE([bounds-checking],
312 [AC_HELP_STRING([--enable-bounds-checking],
313 [enable run-time bounds-checking])],
319 [enable run-time bounds-checking])
349 *-*-hpux* )
351 CFLAGS="${CFLAGS} -Wp,-H30000"
352 if test -n "${CXXFLAGS}"; then
353 CXXFLAGS='-AA'
355 CXXFLAGS="${CXXFLAGS} -AA"
358 *-dec-osf5.* )
359 # Compaq alphaev68-dec-osf5.1 compiler
360 if test -n "${CXXFLAGS}"; then
361 CXXFLAGS='-std strict_ansi -noimplicit_include'
363 CXXFLAGS="${CXXFLAGS} -std strict_ansi -noimplicit_include"
368 # Check for lazy-loading.
373 *-*-solaris2.8 | *-*-solaris2.9 | *-*-solaris2.1? )
375 im_cv_ld_lazyload='-Wl,-zlazyload'
381 if test -z "${LDFLAGS}" ; then
388 dnl Platform-specific stuff
390 *darwin* | *-macos10*)
392 CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0"
393 dnl OS X universal binary support, requires --disable-dependency-tracking
394 AC_ARG_ENABLE([osx-universal-binary],
395 AC_HELP_STRING([--enable-osx-universal-binary],
401 AC_MSG_ERROR([--enable-osx-universal-binary requires --disable-dependency-tracking.
402 Please re-run configure with these options:
403 --disable-dependency-tracking --enable-osx-universal-binary
406 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
407 CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
408 LDFLAGS="$LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
416 AC_ARG_WITH([includearch-dir],
417 [AC_HELP_STRING([--includearch-dir=DIR],
428 AC_ARG_WITH([sharearch-dir],
429 [AC_HELP_STRING([--sharearch-dir=DIR],
438 AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=DIR],
444 # Enable support for POSIX thread APIs
447 [AC_HELP_STRING([--without-threads], [disable POSIX threads API support])],
471 # Enable support for OpenMP
485 # Enable support for OpenCL
516 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
520 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1"
523 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGEFILE_SOURCE=1"
547 AC_DEFINE([HAVE_LINUX_SENDFILE],[1], [Define if you have Linux-compatible sendfile()])
560 LT_INIT([win32-dll dlopen])
578 # Enable support for building loadable modules
582 [AC_HELP_STRING([--with-modules],
583 [enable building dynamically loadable modules])],
602 # Enable build using delegate libraries built in subdirectories rather than installed
604 AC_ARG_ENABLE([delegate-build],
605 [AC_HELP_STRING([--enable-delegate-build],
611 [AC_HELP_STRING([--disable-deprecated],
619 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-deprecated "
625 [AC_HELP_STRING([--disable-installed],
633 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-installed "
638 [AC_HELP_STRING([--disable-cipher],
648 # Build a zero-configuration version of ImageMagick.
649 AC_ARG_ENABLE([zero-configuration],
650 [AC_HELP_STRING([--enable-zero-configuration],
651 [enable self-contained, embeddable, zero-configuration ImageMagick])],
656 …AC_DEFINE([ZERO_CONFIGURATION_SUPPORT],[1],[Build self-contained, embeddable, zero-configuration I…
657 MAGICK_FEATURES="Zero-configuration $MAGICK_FEATURES"
662 AC_ARG_ENABLE([hdri], optenable
663 [AC_HELP_STRING([--enable-hdri],
670 MAGICK_HDRI="HDRI"
672 MAGICK_FEATURES="HDRI $MAGICK_FEATURES"
676 AC_DEFINE_UNQUOTED([HDRI_ENABLE_OBSOLETE_IN_H],[$magick_hdri_enable],[Whether hdri is enabled or no…
678 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
679 CFLAGS="$CFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
680 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
682 # Enable pipes (|) in filenames.
684 [AC_HELP_STRING([--enable-pipes],
685 [enable pipes (|) in filenames])],
690 AC_DEFINE([PIPES_SUPPORT],[1],[enable pipes (|) in filenames])
696 [AC_HELP_STRING([--disable-assert],
708 # Enable hugepages support
710 [AC_HELP_STRING([--enable-hugepages],
711 [enable 'huge pages' support])],
715 # Enable ccmalloc memory debugging support
717 [AC_HELP_STRING([--enable-ccmalloc],
718 [enable 'ccmalloc' memory debug support])],
722 # Enable Electric Fence memory debugging support
724 [AC_HELP_STRING([--enable-efence],
725 [enable 'efence' memory debug support])],
729 # Enable prof-based profiling support
731 [AC_HELP_STRING([--enable-prof],
732 [enable 'prof' profiling support])],
736 # Enable gprof-based profiling support
738 [AC_HELP_STRING([--enable-gprof],
739 [enable 'gprof' profiling support])],
743 # Enable gcov-based profiling support
745 [AC_HELP_STRING([--enable-gcov],
746 [enable 'gcov' profiling support])],
759 AC_ARG_WITH([method-prefix],
760 [AC_HELP_STRING([--with-method-prefix=PREFIX],
768 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-method-prefix "
771 # Enable legacy support (default no)
772 AC_ARG_ENABLE([legacy-support],
773 [ --enable-legacy-support install legacy command-line utilities (default disabled)],
778 # Enable building command line utilities (default yes)
780 [ --with-utilities enable building command-line utilities (default yes)],
785 AC_ARG_WITH([quantum-depth],
786 [AC_HELP_STRING([--with-quantum-depth=DEPTH],
792 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-quantum-depth=$with_quantum_depth "
805 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
806 CFLAGS="$CFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
807 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
818 [AC_HELP_STRING([--with-cache=THRESHOLD],
825 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-cache=$with_cache "
828 # Disable/Enable support for full delegate paths
830 [AC_HELP_STRING([--with-frozenpaths],
835 # Enable build/install of Magick++
836 AC_ARG_WITH([magick-plus-plus],
837 [AC_HELP_STRING([--without-magick-plus-plus],
843 AC_ARG_WITH([package-release-name],
844 [AC_HELP_STRING([--with-package-release-name=NAME],
846 [MAGICK_LT_RELEASE_OPTS="-release $withval"])
851 [AC_HELP_STRING([--with-perl],
852 [enable build/install of PerlMagick])],
857 AC_ARG_WITH([perl-options],
858 [AC_HELP_STRING([--with-perl-options=OPTIONS],
859 [options to pass on command-line when generating PerlMagick build file])],
863 # Enable jemalloc, object-caching memory allocation library.
865 [ --with-jemalloc enable jemalloc memory allocation library support],
869 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jemalloc=$with_jemalloc "
872 # Enable use of TCMalloc library.
874 AS_HELP_STRING([--with-tcmalloc],
875 [enable tcmalloc memory allocation library support]),
879 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-tcmalloc=$with_tcmalloc "
882 # Enable umem, object-caching memory allocation library.
884 [ --with-umem enable umem memory allocation library support],
888 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-umem=$with_umem "
895 [AC_HELP_STRING([--with-libstdc=DIR],
901 if test -d "$with_libstdc"; then
902 LIBSTDCLDFLAGS="-L$with_libstdc"
907 # Does gcc required -traditional?
915 # These options are set for multi-thread DLL module build
923 CPPFLAGS="$CPPFLAGS -D_DLL"
924 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
925 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
926 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
928 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
930 MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
933 CPPFLAGS="$CPPFLAGS -D_LIB"
934 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_LIB"
935 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_LIB"
938 CPPFLAGS="$CPPFLAGS -D_MT"
939 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_MT"
940 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_MT"
957 …rrno.h fcntl.h float.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h malloc.h net…
1061 AC_CHECK_LIB([m],[sqrt],[MATH_LIBS="-lm"],[])
1155 # Check for delegate sub-directories and add -I & -L options as required.
1166 if test -d "$builddir/$dir"; then
1167 CPPFLAGS="$CPPFLAGS -I$builddir/$dir"
1169 if test -d "$srcdirfull/$dir"; then
1170 CPPFLAGS="$CPPFLAGS -I$srcdirfull/$dir"
1177 if test -d "$builddir/$dir/.libs"; then
1178 LDFLAGS="$LDFLAGS -L$builddir/$dir/.libs"
1180 if test -d "$srcdirfull/$dir/.libs"; then
1181 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir/.libs"
1184 if test -d "$builddir/$dir"; then
1185 LDFLAGS="$LDFLAGS -L$builddir/$dir"
1187 if test -d "$srcdirfull/$dir"; then
1188 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir"
1196 MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME}-$MAGICK_MAJOR_VERSION $MAGICK_CPPFLAGS"
1237 if test -f "$ac_dir/X11/rgb.txt"; then
1240 elif test -f "$ac_dir/rgb.txt"; then
1262 if $CC --version 2>&1 | grep Open64 > /dev/null ; then
1263 AC_CHECK_LIB([openmp],[omp_get_num_procs],[GOMP_LIBS="-lopenmp"],[],[])
1268 if $CC --version 2>&1 | grep clang > /dev/null ; then
1269 AC_CHECK_LIB([omp],[GOMP_parallel_start],[LIB_OMP="-lomp"],[],[])
1274 AC_CHECK_LIB([gomp],[GOMP_parallel_start],[GOMP_LIBS="-lgomp"],[],[])
1279 AC_CHECK_LIB([mtsk],[sunw_mp_register_warn],[GOMP_LIBS="-lmtsk"],[],[])
1283 AC_CHECK_LIB([xlsmp],[_xlsmpFlush],[GOMP_LIBS="-lxlsmp"],[],[])
1287 AC_CHECK_LIB([mp],[mp_destroy],[GOMP_LIBS="-lmp"],[],[])
1307 if test $passed -gt 0; then
1308 if test $failed -gt 0; then
1309 AC_MSG_RESULT([no -- some components failed test])
1312 JEMALLOC_LIBS='-ljemalloc'
1331 if test "$have_threads" = 'yes' -a "$with_tcmalloc" != 'no'; then
1339 if test $passed -gt 0; then
1340 if test $failed -gt 0; then
1343 TCMALLOC_LIBS=-ltcmalloc_minimal
1345 … CFLAGS="$CFLAGS -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free"
1372 if test $passed -gt 0; then
1373 if test $failed -gt 0; then
1374 AC_MSG_RESULT([no -- some components failed test])
1377 UMEM_LIBS='-lumem'
1397 if test -n "$CCMALLOCDelegate"; then
1398 eval `grep PREFIX= $CCMALLOCDelegate | sed -e 's/PREFIX/CCMALLOC_PREFIX/'`
1401 LIBS="$LIBS $CCMALLOC_PREFIX/lib/ccmalloc-gcc.o"
1402 …c],[ccmalloc_malloc],[CCMALLOC_LIBS="$CCMALLOC_PREFIX/lib/ccmalloc-gcc.o -lccmalloc -ldl"],[,-ldl])
1403 if test -n "$CCMALLOC_LIBS"; then
1424 EFENCE_LIBS='-lefence'
1435 [AC_HELP_STRING([--without-bzlib],
1441 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-bzlib=$with_bzlib "
1447 AC_MSG_RESULT([-------------------------------------------------------------])
1458 if test $found_libbz -gt 0; then
1464 if test $passed -gt 0; then
1465 if test $failed -gt 0; then
1466 AC_MSG_RESULT([no -- some components failed test])
1469 BZLIB_LIBS='-lbz2'
1491 AC_MSG_RESULT([-------------------------------------------------------------])
1495 X11_LIBS="$X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
1508 LIBS="$LIBS -lcygipc"
1509 AC_TRY_LINK_FUNC([shmctl],[have_shmctl='yes'; IPC_LIBS='-lcygipc'],[])
1514 …AC_CHECK_LIB([Xext],[XShmAttach],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHARED_MEMORY,1,X11 server s…
1520 …AC_CHECK_LIB([Xext],[XShapeCombineMask],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHAPE,1,X11 server su…
1521 AC_CHECK_LIB([Xt],[XtSetEventDispatcher],[XT_LIBS='-lXt'],[],[])
1539 [AC_HELP_STRING([--without-zip],
1545 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zip=$with_zip "
1553 AC_MSG_RESULT([-------------------------------------------------------------])
1574 [AC_HELP_STRING([--without-zlib],
1580 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zlib=$with_zlib "
1588 AC_MSG_RESULT([-------------------------------------------------------------])
1609 [AC_HELP_STRING([--without-zstd],
1615 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zstd=$with_zstd "
1623 AC_MSG_RESULT([-------------------------------------------------------------])
1649 AC_MSG_RESULT([-------------------------------------------------------------])
1657 if test $passed -gt 0 ; then
1658 if test $failed -gt 0 ; then
1659 AC_MSG_RESULT([no -- some components failed test])
1662 LTDL_LIBS='-lltdl'
1679 # If profiling, then check for -ldl and dlopen (required for Solaris & gcc)
1683 AC_CHECK_LIB([dl],[dlopen],[LIB_DL='-ldl'],[],[])
1693 AC_ARG_WITH([apple-font-dir],
1694 [AC_HELP_STRING([--with-apple-font-dir=DIR],
1700 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-apple-font-dir=$with_apple_font_dir "
1709 [AC_HELP_STRING([--with-autotrace],
1710 [enable autotrace support])],
1715 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-autotrace=$with_autotrace "
1723 AC_MSG_RESULT([-------------------------------------------------------------])
1743 [AC_HELP_STRING([--without-dps],
1749 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dps=$with_dps "
1755 AC_MSG_RESULT([-------------------------------------------------------------])
1761 CPPFLAGS="$CPPFLAGS -I${ac_x_includes}/X11"
1764 # XFree86-4.x needs -lXt to provide XtMalloc for -ldps.
1765 # Cygwin doesn't deliver -lXt as a DLL, which prevents a DLL build.
1766 # Adobe DPS (as delivered on Solaris) doesn't require -lXt.
1767 # ImageMagick itself doesn't use -lXt.
1774 AC_CHECK_LIB([dps],[DPSInitialize],[have_libdps='yes'],[have_libdps='no',-lXt])
1776 LIBDPS_XT='-lXt'
1784 …stk],[XDPSPixelsPerPoint],[passed=`expr $passed + 1`],[failed=`expr $failed + 1`,-ldps $LIBDPS_XT])
1786 if test $passed -gt 0; then
1787 if test $failed -gt 0; then
1788 AC_MSG_RESULT([no -- some components failed test])
1792 DPS_LIBS="-ldpstk -ldps ${LIBDPS_XT}"
1811 AC_ARG_WITH([dejavu-font-dir],
1812 [AC_HELP_STRING([--with-dejavu-font-dir=DIR],
1818 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dejavu-font-dir=$with_dejavu_font_dir "
1827 [AC_HELP_STRING([--with-fftw],
1828 [enable FFTW support])],
1833 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fftw=$with_fftw "
1841 AC_MSG_RESULT([-------------------------------------------------------------])
1863 [AC_HELP_STRING([--without-flif],
1869 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-flif=$with_flif "
1875 AC_MSG_RESULT([-------------------------------------------------------------])
1883 if test $passed -gt 0; then
1884 if test $failed -gt 0; then
1885 AC_MSG_RESULT([no -- some components failed test])
1888 FLIF_LIBS='-lflif'
1907 [AC_HELP_STRING([--without-fpx],
1913 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fpx=$with_fpx "
1919 AC_MSG_RESULT([-------------------------------------------------------------])
1930 if test $passed -gt 0; then
1931 if test $failed -gt 0; then
1932 AC_MSG_RESULT([no -- some components failed test])
1935 FPX_LIBS='-lfpx'
1954 [AC_HELP_STRING([--without-djvu],
1960 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-djvu=$with_djvu "
1968 AC_MSG_RESULT([-------------------------------------------------------------])
1990 [AC_HELP_STRING([--without-fontconfig],
1996 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontconfig=$with_fontconfig "
2004 AC_MSG_RESULT([-------------------------------------------------------------])
2024 [AC_HELP_STRING([--without-freetype],
2030 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-freetype=$with_freetype "
2038 AC_MSG_RESULT([-------------------------------------------------------------])
2061 [AC_HELP_STRING([--without-raqm],
2067 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-raqm=$with_raqm "
2075 AC_MSG_RESULT([-------------------------------------------------------------])
2092 # Enable Windows gdi32 libraries
2095 AS_HELP_STRING([--without-gdi32],
2100 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gdi32=$with_gdi32 "
2116 if test "$cygwin_build" = yes -o "$native_win32_build" = yes; then
2120 if test $passed -gt 0; then
2121 if test $failed -gt 0; then
2122 AC_MSG_RESULT([no -- some components failed test])
2125 GDI32_LIBS='-lgdi32 -luser32'
2144 # Test for iapi.h & test for gsapi_new_instance in -lgs
2145 # or -framework Ghostscript
2148 [AC_HELP_STRING([--with-gslib],
2149 [enable Ghostscript library support])],
2155 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gslib=$with_gslib "
2161 AC_MSG_RESULT([-------------------------------------------------------------])
2174 if test $passed -gt 0; then
2175 if test $failed -gt 0; then
2176 AC_MSG_RESULT([no -- some components failed test])
2179 if test $framework -gt 0; then
2180 GS_LIBS='-framework Ghostscript'
2185 GS_LIBS='-lgs'
2200 [AC_HELP_STRING([--with-fontpath=DIR],
2205 if test "$with_fontpath" != "yes" && test -z "$with_fontpath"; then
2211 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontpath=$with_fontpath "
2215 AC_ARG_WITH([gs-font-dir],
2216 [AC_HELP_STRING([--with-gs-font-dir=DIR],
2222 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gs-font-dir=$with_gs_font_dir "
2231 [AC_HELP_STRING([--with-gvc],
2232 [enable GVC support])],
2237 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gvc=$with_gvc "
2242 AC_MSG_RESULT([-------------------------------------------------------------])
2262 [AC_HELP_STRING([--without-heic],
2268 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-heic=$with_heic "
2276 AC_MSG_RESULT([-------------------------------------------------------------])
2296 [AC_HELP_STRING([--without-jbig],
2304 AC_MSG_RESULT([-------------------------------------------------------------])
2313 if test $passed -gt 0; then
2314 if test $failed -gt 0; then
2315 AC_MSG_RESULT([no -- some components failed test])
2318 JBIG_LIBS='-ljbig'
2337 [AC_HELP_STRING([--without-jpeg],
2343 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jpeg=$with_jpeg "
2349 AC_MSG_RESULT([-------------------------------------------------------------])
2361 if test $passed -gt 0; then
2362 if test $failed -gt 0; then
2363 AC_MSG_RESULT([no -- some components failed test])
2366 JPEG_LIBS='-ljpeg'
2382 # Check for JPEG-XL delegate library.
2385 [AC_HELP_STRING([--with-jxl],
2386 [enable JPEG-XL support])],
2391 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jxl=$with_jxl "
2399 # Check for the JPEG-XL library.
2403 AC_MSG_RESULT([-------------------------------------------------------------])
2404 AC_MSG_CHECKING([for jpeg-xl])
2410 # This check should be changed once we have a .pc file for the JPEG-XL library.
2416 AC_MSG_CHECKING([if jpeg-xl package is complete])
2417 if test $passed -gt 0; then
2418 if test $failed -gt 0; then
2419 AC_MSG_RESULT([no -- some components failed test])
2422 JXL_LIBS='-ljxl'
2424 AC_DEFINE([JXL_DELEGATE],[1],[Define if you have jpeg-xl library])
2441 [ --without-lcms disable lcms (v1.1X) support],
2445 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lcms=$with_lcms "
2453 AC_MSG_RESULT([-------------------------------------------------------------])
2481 [AC_HELP_STRING([--without-openjp2],
2487 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 "
2495 AC_MSG_RESULT([-------------------------------------------------------------])
2516 [AC_HELP_STRING([--without-lqr],
2522 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lqr=$with_lqr "
2530 AC_MSG_RESULT([-------------------------------------------------------------])
2531 PKG_CHECK_MODULES([LQR],[lqr-1 >= 0.1.0],[have_lqr=yes],[have_lqr=no])
2548 [ --without-lzma disable LZMA support],
2552 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lzma=$with_lzma "
2557 AC_MSG_RESULT([-------------------------------------------------------------])
2579 [AC_HELP_STRING([--without-openexr],
2585 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openexr=$with_openexr "
2593 AC_MSG_RESULT([-------------------------------------------------------------])
2613 [AC_HELP_STRING([--without-pango],
2619 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-pango=$with_pango "
2628 AC_MSG_RESULT([-------------------------------------------------------------])
2656 [AC_HELP_STRING([--without-png], [disable PNG support])],
2661 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-png=$with_png "
2669 AC_MSG_RESULT([-------------------------------------------------------------])
2689 [AC_HELP_STRING([--without-raw],
2695 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-libraw=$with_raw "
2703 AC_MSG_RESULT([-------------------------------------------------------------])
2723 [AC_HELP_STRING([--with-rsvg],
2724 [enable RSVG support])],
2729 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-rsvg=$with_rsvg "
2738 AC_MSG_RESULT([-------------------------------------------------------------])
2739 PKG_CHECK_MODULES([RSVG],[librsvg-2.0 >= 2.9.0],[have_rsvg=yes],[have_rsvg=no])
2741 PKG_CHECK_MODULES([CAIRO_SVG],[cairo-svg],[have_cairo=yes],[have_cairo=no])
2766 [AC_HELP_STRING([--without-tiff],
2772 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-tiff=$with_tiff "
2778 AC_MSG_RESULT([-------------------------------------------------------------])
2791 if test $passed -gt 0; then
2792 if test $failed -gt 0; then
2793 AC_MSG_RESULT([no -- some components failed test])
2796 TIFF_LIBS='-ltiff'
2819 AC_ARG_WITH([urw-base35-font-dir],
2820 [AC_HELP_STRING([--with-urw-base35-font-dir=DIR],
2821 [URW-base35 font directory])],
2826 …DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-urw-base35-font-dir=$with_urw_base35_font…
2835 [AC_HELP_STRING([--without-webp],
2841 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-webp=$with_webp "
2853 AC_MSG_RESULT([-------------------------------------------------------------])
2881 AC_ARG_WITH([windows-font-dir],
2882 [AC_HELP_STRING([--with-windows-font-dir=DIR],
2888 … DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-windows-font-dir=$with_windows_font_dir "
2897 [AC_HELP_STRING([--with-wmf],
2898 [enable WMF support])],
2903 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-wmf=$with_wmf "
2922 WMF_LIBS='-lwmflite'
2926 AC_MSG_RESULT([no -- some components failed test])
2950 [AC_HELP_STRING([--without-xml],
2956 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-xml=$with_xml "
2964 AC_MSG_RESULT([-------------------------------------------------------------])
2965 PKG_CHECK_MODULES([XML],[libxml-2.0 >= 2.0.0],[have_xml=yes],[have_xml=no])
2993 INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3016 LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_BASE_VERSION}"
3038 AC_DEFINE_UNQUOTED([LIBRARY_PATH],["$DEFINE_LIBRARY_PATH"],[Directory where architecture-dependent …
3050 LIB_BIN_DIR=${LIB_BIN_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3068 MODULES_DIRNAME=${MODULES_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3107 DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3119 # Enable/Disable documentation
3121 [AS_HELP_STRING([--disable-docs],
3126 # Subdirectory to place architecture-dependent configuration files
3127 CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3128 …E_PATH],["$CONFIGURE_RELATIVE_PATH"],[Subdirectory of lib where architecture-dependent configurati…
3136 AC_DEFINE_UNQUOTED([CONFIGURE_PATH],["$DEFINE_CONFIGURE_PATH"],[Directory where architecture-depend…
3139 # Subdirectory to place architecture-independent configuration files
3140 SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3141 …ATIVE_PATH],["$SHARE_RELATIVE_PATH"],[Subdirectory of lib where architecture-independent configura…
3149 AC_DEFINE_UNQUOTED([SHARE_PATH],["$DEFINE_SHARE_PATH"],[Directory where architecture-independent co…
3153 # Subdirectory to place architecture-dependent configuration files.
3161 SHAREARCH_DIRNAME=${SHAREARCH_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3178 AC_MSG_RESULT([-------------------------------------------------------------])
3184 BrowseDelegateDefault='xdg-open'
3185 DNGDecodeDelegateDefault='ufraw-batch'
3215 RSVGDecodeDelegateDefault='rsvg-convert'
3230 AC_PATH_PROGS([BrowseDelegate],["$BrowseDelegateDefault" google-chrome firefox konqueror mozilla ly…
3270 PrintDelegate="$LPDelegate -c -s"
3301 if test -f "${font_dir}Arial.ttf"; then
3308 type_include_files="${type_include_files} "'<include file="type-apple.xml" />'
3322 if test -f "${font_dir}DejaVuSerif.ttf"; then
3329 type_include_files="${type_include_files} "'<include file="type-dejavu.xml" />'
3345 if test -f "${font_dir}a010013l.pfb"; then
3351 …ghostscript_font_dir=`echo "${PSDelegate}" | sed -e 's:/gs/.*:/gs:;s:^/::;s/./&:/;s:/:\\\\:g'`"\\f…
3356 if test -f "${font_dir}a010013l.pfb"; then
3363 ghostscript_font_dir=`echo "$PSDelegate" | sed -e 's:/bin/gs:/share/ghostscript/fonts:'`"/"
3369 type_include_files="${type_include_files} "'<include file="type-ghostscript.xml" />'
3381 # URW-base35 fonts.
3382 AC_MSG_CHECKING([for URW-base35 fonts directory])
3388 type_include_files="${type_include_files} "'<include file="type-urw-base35.xml" />'
3402 if test -f "${font_dir}arial.ttf"; then
3409 type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
3422 # Re-set delegate definitions to default (no paths)
3517 # ZIP support (http://www.info-zip.org/Zip.html)
3530 if test -z "$PCLVersion"; then
3534 AC_MSG_RESULT([-------------------------------------------------------------])
3539 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3548 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3557 …if $PCLDelegate -dBATCH -sDEVICE=$PCLMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3576 if test -z "$XPSVersion"; then
3580 AC_MSG_RESULT([-------------------------------------------------------------])
3585 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3594 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3603 …if $XPSDelegate -dBATCH -sDEVICE=$XPSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3628 AC_MSG_RESULT([-------------------------------------------------------------])
3632 if GSVersion=`$PSDelegate --version`; then
3635 GSVersion=`$PSDelegate --help | sed -e '1q' | awk '{ print $3 }'`
3641 …if $PSDelegate -q -dBATCH -sDEVICE=$GSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3650 …if $PSDelegate -q -dBATCH -sDEVICE=$GSAlphaDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3659 …if $PSDelegate -q -dBATCH -sDEVICE=$GSCMYKDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3668 …if $PSDelegate -q -dBATCH -sDEVICE=$GSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3677 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPDFDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3686 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LO…
3695 …if $PSDelegate -q -dBATCH -sDEVICE=$GSEPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3713 # PerlMagick-related configuration
3720 AC_MSG_RESULT([-------------------------------------------------------------])
3737 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-perl=$with_perl "
3765 # Linker search path to library, followed by -lMagickCore
3891 MAGICK_DELEGATES=`echo $MAGICK_DELEGATES | sed -e 's/ */ /g'`
3892 MAGICK_FEATURES=`echo $MAGICK_FEATURES | sed -e 's/ */ /g'`
3900 # Add '-p' if prof source profiling support enabled
3902 CFLAGS="-p $CFLAGS"
3903 CXXFLAGS="-p $CXXFLAGS"
3904 LDFLAGS="-p $LDFLAGS"
3907 # Add '-pg' if gprof source profiling support enabled
3909 CFLAGS="-pg $CFLAGS"
3910 CXXFLAGS="-pg $CXXFLAGS"
3911 LDFLAGS="-pg $LDFLAGS"
3914 # Add '-ftest-coverage -fprofile-arcs' if gcov source profiling support enabled
3915 # This is a gcc-specific feature
3921 OSX_GCOV_LDFLAG="-Wl,-single_module"
3928 CFLAGS="-ftest-coverage -fprofile-arcs $CFLAGS"
3929 CXXFLAGS="-ftest-coverage -fprofile-arcs $CXXFLAGS"
3930 LDFLAGS="-ftest-coverage -fprofile-arcs $LDFLAGS"
3946 # Pass only user-provided LIBS as "global" libraries
3958 MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/ */ /g'`
3959 MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/ */ /g'`
3960 MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
3973 AC_CONFIG_COMMANDS([MagickCore-config.in],[chmod +x MagickCore/MagickCore-config])
3974 AC_CONFIG_COMMANDS([MagickWand-config.in],[chmod +x MagickWand/MagickWand-config])
3975 AC_CONFIG_COMMANDS([Magick++-config.in],[chmod +x Magick++/bin/Magick++-config])
3978 AC_MSG_RESULT([-------------------------------------------------------------])
3981 rm -f magick-version
4014 config/type-apple.xml \
4015 config/type-dejavu.xml \
4016 config/type-ghostscript.xml \
4017 config/type-urw-base35.xml \
4018 config/type-windows.xml \
4021 Magick++/bin/Magick++-config \
4024 MagickCore/MagickCore-config \
4047 utilities/magick-script.1 \
4051 MagickWand/MagickWand-config \
4067 ------------------------------------------------------------------------------
4068 Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
4069 Static libraries --enable-static=$enable_static $libtool_build_static_libs
4070 Build utilities --with-utilities=$with_utilities $with_utilities
4071 Module support --with-modules=$build_modules $build_modules
4072 GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
4073 Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
4075 --enable-hdri=$enable_hdri $enable_hdri
4080 JEMalloc --with-jemalloc=$with_jemalloc $have_jemalloc
4081 TCMalloc --with-tcmalloc=$with_tcmalloc $have_tcmalloc
4082 UMem --with-umem=$with_umem $have_umem
4085 BZLIB --with-bzlib=$with_bzlib $have_bzlib
4086 Autotrace --with-autotrace=$with_autotrace $have_autotrace
4087 DJVU --with-djvu=$with_djvu $have_djvu
4088 DPS --with-dps=$with_dps $have_dps
4089 FFTW --with-fftw=$with_fftw $have_fftw
4090 FLIF --with-flif=$with_flif $have_flif
4091 FlashPIX --with-fpx=$with_fpx $have_fpx
4092 FontConfig --with-fontconfig=$with_fontconfig $have_fontconfig
4093 FreeType --with-freetype=$with_freetype $have_freetype
4094 Ghostscript lib --with-gslib=$with_gslib $have_gslib
4095 Graphviz --with-gvc=$with_gvc $have_gvc
4096 HEIC --with-heic=$with_heic $have_heic
4097 JBIG --with-jbig=$with_jbig $have_jbig
4098 JPEG v1 --with-jpeg=$with_jpeg $have_jpeg
4099 JPEG XL --with-jxl=$with_jxl $have_jxl
4100 LCMS --with-lcms=$with_lcms $have_lcms
4101 LQR --with-lqr=$with_lqr $have_lqr
4102 LTDL --with-ltdl=$with_ltdl $have_ltdl
4103 LZMA --with-lzma=$with_lzma $have_lzma
4104 Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus
4105 OpenEXR --with-openexr=$with_openexr $have_openexr
4106 OpenJP2 --with-openjp2=$with_openjp2 $have_openjp2
4107 PANGO --with-pango=$with_pango $have_pango
4108 PERL --with-perl=$with_perl $have_perl
4109 PNG --with-png=$with_png $have_png
4110 RAQM --with-raqm=$with_raqm $have_raqm
4111 RAW --with-raw=$with_raw $have_raw
4112 RSVG --with-rsvg=$with_rsvg $have_rsvg
4113 TIFF --with-tiff=$with_tiff $have_tiff
4114 WEBP --with-webp=$with_webp $have_webp
4115 WMF --with-wmf=$with_wmf $have_wmf
4116 X11 --with-x=$with_x $have_x
4117 XML --with-xml=$with_xml $have_xml
4118 ZIP --with-zip=$with_zip $have_zip
4119 ZLIB --with-zlib=$with_zlib $have_zlib
4120 ZSTD --with-zstd=$with_zstd $have_zstd
4128 Apple fonts --with-apple-font-dir=$with_apple_font_dir $result_apple_font_dir
4129 Dejavu fonts --with-dejavu-font-dir=$with_dejavu_font_dir $result_dejavu_font_dir
4130 Ghostscript fonts --with-gs-font-dir=$with_gs_font_dir $result_ghostscript_font_dir
4131 URW-base35 fonts --with-urw-base35-font-dir=$with_urw_base35_font_dir $result_urw_base35_font_dir
4132 Windows fonts --with-windows-font-dir=$with_windows_font_dir $result_windows_font_dir
4142 EXEC-PREFIX = $EXEC_PREFIX_DIR