• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:enable +full:- +full:hdri

1 #  Copyright 1999-2019 ImageMagick Studio LLC, a non-profit organization
15 # Copyright (C) 2003 - 2008 GraphicsMagick Group
32 … [magick_major_version.magick_minor_version.magick_micro_version-magick_patchlevel_version])
33 m4_define([magick_git_revision], esyscmd([sh -c "(gitversion.sh .) | awk '{ print \$1 }' | tr -d '\…
46 AC_REQUIRE_AUX_FILE([tap-driver.sh])
49 AX_PREFIX_CONFIG_H([MagickCore/magick-baseconfig.h],[MagickCore])
52 AM_INIT_AUTOMAKE([foreign color-tests -Wall -Wno-portability subdir-objects dist-bzip2 dist-lzip di…
56 # Save initial user-tunable values
71 AC_ARG_ENABLE([reproducible-build],
72 [AC_HELP_STRING([--enable-reproducible-build],
73 [enable reproducible build])],
108 [`expr $MAGICK_LIBRARY_CURRENT - $MAGICK_LIBRARY_AGE`])
116 [`expr $MAGICKPP_LIBRARY_CURRENT - $MAGICKPP_LIBRARY_AGE`])
140 if test ${MAGICK_LIBRARY_CURRENT} -lt 10 ; then
144 if test ${MAGICK_LIBRARY_AGE} -lt 10 ; then
148 if test ${MAGICK_LIBRARY_REVISION} -lt 10 ; then
163 if test ${MAGICKPP_LIBRARY_CURRENT} -lt 10 ; then
167 if test ${MAGICKPP_LIBRARY_AGE} -lt 10 ; then
171 if test ${MAGICKPP_LIBRARY_REVISION} -lt 10 ; then
276 # Enable OS features.
305 # Test for 64-bit build.
311 CFLAGS="$CFLAGS -fexceptions"
323 # Enable run-time checking.
325 AC_ARG_ENABLE([bounds-checking],
326 [AC_HELP_STRING([--enable-bounds-checking],
327 [enable run-time bounds-checking])],
333 [enable run-time bounds-checking])
349 GDI32_LIBS='-lgdi32'
353 GDI32_LIBS='-lgdi32'
354 OLE_LIBS='-loleaut32'
355 WS2_32_LIBS="-lws2_32"
377 *-*-hpux* )
379 CFLAGS="${CFLAGS} -Wp,-H30000"
380 if test -n "${CXXFLAGS}"; then
381 CXXFLAGS='-AA'
383 CXXFLAGS="${CXXFLAGS} -AA"
386 *-dec-osf5.* )
387 # Compaq alphaev68-dec-osf5.1 compiler
388 if test -n "${CXXFLAGS}"; then
389 CXXFLAGS='-std strict_ansi -noimplicit_include'
391 CXXFLAGS="${CXXFLAGS} -std strict_ansi -noimplicit_include"
396 # Check for lazy-loading.
401 *-*-solaris2.8 | *-*-solaris2.9 | *-*-solaris2.1? )
403 im_cv_ld_lazyload='-Wl,-zlazyload'
409 if test -z "${LDFLAGS}" ; then
416 dnl Platform-specific stuff
418 *darwin* | *-macos10*)
420 CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0"
421 dnl OS X universal binary support, requires --disable-dependency-tracking
422 AC_ARG_ENABLE([osx-universal-binary],
423 AC_HELP_STRING([--enable-osx-universal-binary],
429 AC_MSG_ERROR([--enable-osx-universal-binary requires --disable-dependency-tracking.
430 Please re-run configure with these options:
431 --disable-dependency-tracking --enable-osx-universal-binary
434 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
435 CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
436 LDFLAGS="$LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
444 AC_ARG_WITH([includearch-dir],
445 [AC_HELP_STRING([--includearch-dir=DIR],
456 AC_ARG_WITH([sharearch-dir],
457 [AC_HELP_STRING([--sharearch-dir=DIR],
466 AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=DIR],
472 # Enable support for POSIX thread APIs
475 [AC_HELP_STRING([--without-threads], [disable POSIX threads API support])],
499 # Enable support for OpenMP
513 # Enable support for OpenCL
549 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
553 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1"
556 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGEFILE_SOURCE=1"
563 LT_INIT([win32-dll])
581 # Enable support for building loadable modules
585 [AC_HELP_STRING([--with-modules],
586 [enable building dynamically loadable modules])],
605 # Enable build using delegate libraries built in subdirectories rather than installed
607 AC_ARG_ENABLE([delegate-build],
608 [AC_HELP_STRING([--enable-delegate-build],
614 [AC_HELP_STRING([--disable-deprecated],
622 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-deprecated "
628 [AC_HELP_STRING([--disable-installed],
636 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-installed "
641 [AC_HELP_STRING([--disable-cipher],
651 # Build a zero-configuration version of ImageMagick.
652 AC_ARG_ENABLE([zero-configuration],
653 [AC_HELP_STRING([--enable-zero-configuration],
654 [enable self-contained, embeddable, zero-configuration ImageMagick])],
659 …AC_DEFINE(ZERO_CONFIGURATION_SUPPORT,1,[Build self-contained, embeddable, zero-configuration Image…
660 MAGICK_FEATURES="Zero-configuration $MAGICK_FEATURES"
664 AC_ARG_ENABLE([hdri], optenable
665 [AC_HELP_STRING([--enable-hdri],
672 MAGICK_HDRI="HDRI"
674 MAGICK_FEATURES="HDRI $MAGICK_FEATURES"
678 AC_DEFINE_UNQUOTED(HDRI_ENABLE_OBSOLETE_IN_H,$magick_hdri_enable,[Whether hdri is enabled or not])
680 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
681 CFLAGS="$CFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
682 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
684 # Enable pipes (|) in filenames.
686 [AC_HELP_STRING([--enable-pipes],
687 [enable pipes (|) in filenames])],
692 AC_DEFINE(PIPES_SUPPORT,1,[enable pipes (|) in filenames])
698 [AC_HELP_STRING([--disable-assert],
710 # Enable hugepages support
712 [AC_HELP_STRING([--enable-hugepages],
713 [enable 'huge pages' support])],
717 # Enable ccmalloc memory debugging support
719 [AC_HELP_STRING([--enable-ccmalloc],
720 [enable 'ccmalloc' memory debug support])],
724 # Enable Electric Fence memory debugging support
726 [AC_HELP_STRING([--enable-efence],
727 [enable 'efence' memory debug support])],
731 # Enable prof-based profiling support
733 [AC_HELP_STRING([--enable-prof],
734 [enable 'prof' profiling support])],
738 # Enable gprof-based profiling support
740 [AC_HELP_STRING([--enable-gprof],
741 [enable 'gprof' profiling support])],
745 # Enable gcov-based profiling support
747 [AC_HELP_STRING([--enable-gcov],
748 [enable 'gcov' profiling support])],
761 AC_ARG_WITH([method-prefix],
762 [AC_HELP_STRING([--with-method-prefix=PREFIX],
770 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-method-prefix "
773 # Enable legacy support (default no)
774 AC_ARG_ENABLE(legacy-support,
775 [ --enable-legacy-support install legacy command-line utilities (default disabled)],
780 # Enable building command line utilities (default yes)
782 [ --with-utilities enable building command-line utilities (default yes)],
787 AC_ARG_WITH([quantum-depth],
788 [AC_HELP_STRING([--with-quantum-depth=DEPTH],
794 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-quantum-depth=$with_quantum_depth "
807 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
808 CFLAGS="$CFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
809 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
820 [AC_HELP_STRING([--with-cache=THRESHOLD],
827 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-cache=$with_cache "
830 # Disable/Enable support for full delegate paths
832 [AC_HELP_STRING([--with-frozenpaths],
837 # Enable build/install of Magick++
838 AC_ARG_WITH([magick-plus-plus],
839 [AC_HELP_STRING([--without-magick-plus-plus],
845 AC_ARG_WITH([package-release-name],
846 [AC_HELP_STRING([--with-package-release-name=NAME],
848 [MAGICK_LT_RELEASE_OPTS="-release $withval"])
853 [AC_HELP_STRING([--with-perl],
854 [enable build/install of PerlMagick])],
859 AC_ARG_WITH([perl-options],
860 [AC_HELP_STRING([--with-perl-options=OPTIONS],
861 [options to pass on command-line when generating PerlMagick build file])],
865 # Enable jemalloc, object-caching memory allocation library.
867 [ --with-jemalloc enable jemalloc memory allocation library support],
871 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jemalloc=$with_jemalloc "
874 # Enable umem, object-caching memory allocation library.
876 [ --with-umem enable umem memory allocation library support],
880 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-umem=$with_umem "
887 [AC_HELP_STRING([--with-libstdc=DIR],
893 if test -d "$with_libstdc"; then
894 LIBSTDCLDFLAGS="-L$with_libstdc"
899 # Does gcc required -traditional?
907 # These options are set for multi-thread DLL module build
915 CPPFLAGS="$CPPFLAGS -D_DLL"
916 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
917 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
918 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
920 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
922 MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
925 CPPFLAGS="$CPPFLAGS -D_LIB"
926 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_LIB"
927 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_LIB"
930 CPPFLAGS="$CPPFLAGS -D_MT"
931 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_MT"
932 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_MT"
949 …plex.h errno.h fcntl.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h netinet/in.h…
1060 AC_MSG_CHECKING(for signed 8-bit type)
1065 AC_MSG_CHECKING(for unsigned 8-bit type)
1070 AC_MSG_CHECKING(for signed 16-bit type)
1075 AC_MSG_CHECKING(for unsigned 16-bit type)
1080 AC_MSG_CHECKING(for signed 32-bit type)
1083 if test $ac_cv_sizeof_signed_int -eq 4; then
1086 elif test $ac_cv_sizeof_signed_long -eq 4; then
1094 AC_MSG_CHECKING(for unsigned 32-bit type)
1097 if test $ac_cv_sizeof_unsigned_int -eq 4; then
1100 elif test $ac_cv_sizeof_unsigned_long -eq 4; then
1108 AC_MSG_CHECKING(for signed 64-bit type)
1111 if test $ac_cv_sizeof_signed_long -eq 8; then
1114 elif test $ac_cv_sizeof_signed_long_long -eq 8; then
1127 AC_MSG_CHECKING(for unsigned 64-bit type)
1130 if test $ac_cv_sizeof_unsigned_long -eq 8; then
1133 elif test $ac_cv_sizeof_unsigned_long_long -eq 8; then
1163 if test $ac_cv_sizeof_unsigned_long -eq $ac_cv_sizeof_unsigned_intp; then
1166 elif test $ac_cv_sizeof_unsigned_long_long -eq $ac_cv_sizeof_unsigned_intp; then
1209 AC_CHECK_LIB(m,sqrt,MATH_LIBS="-lm",,)
1305 # Check for delegate sub-directories and add -I & -L options as required.
1316 if test -d "$builddir/$dir"; then
1317 CPPFLAGS="$CPPFLAGS -I$builddir/$dir"
1319 if test -d "$srcdirfull/$dir"; then
1320 CPPFLAGS="$CPPFLAGS -I$srcdirfull/$dir"
1327 if test -d "$builddir/$dir/.libs"; then
1328 LDFLAGS="$LDFLAGS -L$builddir/$dir/.libs"
1330 if test -d "$srcdirfull/$dir/.libs"; then
1331 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir/.libs"
1334 if test -d "$builddir/$dir"; then
1335 LDFLAGS="$LDFLAGS -L$builddir/$dir"
1337 if test -d "$srcdirfull/$dir"; then
1338 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir"
1346 MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME}-$MAGICK_MAJOR_VERSION $MAGICK_CPPFLAGS"
1387 if test -f "$ac_dir/X11/rgb.txt"; then
1390 elif test -f "$ac_dir/rgb.txt"; then
1412 if $CC --version 2>&1 | grep Open64 > /dev/null ; then
1413 AC_CHECK_LIB(openmp,omp_get_num_procs,GOMP_LIBS="-lopenmp",,)
1418 if $CC --version 2>&1 | grep clang > /dev/null ; then
1419 AC_CHECK_LIB(omp,GOMP_parallel_start,LIB_OMP="-lomp",,)
1424 AC_CHECK_LIB(gomp,GOMP_parallel_start,GOMP_LIBS="-lgomp",,)
1429 AC_CHECK_LIB(mtsk,sunw_mp_register_warn,GOMP_LIBS="-lmtsk",,)
1433 AC_CHECK_LIB(xlsmp,_xlsmpFlush,GOMP_LIBS="-lxlsmp",,)
1437 AC_CHECK_LIB(mp,mp_destroy,GOMP_LIBS="-lmp",,)
1457 if test $passed -gt 0; then
1458 if test $failed -gt 0; then
1459 AC_MSG_RESULT(no -- some components failed test)
1462 JEMALLOC_LIBS='-ljemalloc'
1489 if test $passed -gt 0; then
1490 if test $failed -gt 0; then
1491 AC_MSG_RESULT(no -- some components failed test)
1494 UMEM_LIBS='-lumem'
1514 if test -n "$CCMALLOCDelegate"; then
1515 eval `grep PREFIX= $CCMALLOCDelegate | sed -e 's/PREFIX/CCMALLOC_PREFIX/'`
1518 LIBS="$LIBS $CCMALLOC_PREFIX/lib/ccmalloc-gcc.o"
1519 …ccmalloc,ccmalloc_malloc,CCMALLOC_LIBS="$CCMALLOC_PREFIX/lib/ccmalloc-gcc.o -lccmalloc -ldl",,-ldl)
1520 if test -n "$CCMALLOC_LIBS"; then
1541 EFENCE_LIBS='-lefence'
1552 [AC_HELP_STRING([--without-bzlib],
1558 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-bzlib=$with_bzlib "
1564 AC_MSG_RESULT([-------------------------------------------------------------])
1575 if test $found_libbz -gt 0; then
1581 if test $passed -gt 0; then
1582 if test $failed -gt 0; then
1583 AC_MSG_RESULT(no -- some components failed test)
1586 BZLIB_LIBS='-lbz2'
1608 AC_MSG_RESULT([-------------------------------------------------------------])
1612 X11_LIBS="$X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
1625 LIBS="$LIBS -lcygipc"
1626 AC_TRY_LINK_FUNC([shmctl],[have_shmctl='yes'; IPC_LIBS='-lcygipc'],[])
1631 …AC_CHECK_LIB([Xext],[XShmAttach],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHARED_MEMORY,1,X11 server s…
1637 …AC_CHECK_LIB([Xext],[XShapeCombineMask],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHAPE,1,X11 server su…
1638 AC_CHECK_LIB(Xt,XtSetEventDispatcher,XT_LIBS='-lXt',,)
1656 [AC_HELP_STRING([--without-zlib],
1662 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zlib=$with_zlib "
1670 AC_MSG_RESULT([-------------------------------------------------------------])
1691 [AC_HELP_STRING([--without-zstd],
1697 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zstd=$with_zstd "
1705 AC_MSG_RESULT([-------------------------------------------------------------])
1727 AC_MSG_RESULT([-------------------------------------------------------------])
1735 if test $passed -gt 0 ; then
1736 if test $failed -gt 0 ; then
1737 AC_MSG_RESULT([no -- some components failed test])
1740 LTDL_LIBS='-lltdl'
1757 # If profiling, then check for -ldl and dlopen (required for Solaris & gcc)
1761 AC_CHECK_LIB(dl,dlopen,LIB_DL='-ldl',,)
1771 AC_ARG_WITH([apple-font-dir],
1772 [AC_HELP_STRING([--with-apple-font-dir=DIR],
1778 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-apple-font-dir=$with_apple_font_dir "
1787 [AC_HELP_STRING([--with-autotrace],
1788 [enable autotrace support])],
1793 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-autotrace=$with_autotrace "
1801 AC_MSG_RESULT([-------------------------------------------------------------])
1821 [AC_HELP_STRING([--without-dps],
1827 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dps=$with_dps "
1833 AC_MSG_RESULT([-------------------------------------------------------------])
1839 CPPFLAGS="$CPPFLAGS -I${ac_x_includes}/X11"
1842 # XFree86-4.x needs -lXt to provide XtMalloc for -ldps.
1843 # Cygwin doesn't deliver -lXt as a DLL, which prevents a DLL build.
1844 # Adobe DPS (as delivered on Solaris) doesn't require -lXt.
1845 # ImageMagick itself doesn't use -lXt.
1852 AC_CHECK_LIB(dps,DPSInitialize,have_libdps='yes',have_libdps='no',-lXt)
1854 LIBDPS_XT='-lXt'
1862 …AC_CHECK_LIB(dpstk,XDPSPixelsPerPoint,passed=`expr $passed + 1`,failed=`expr $failed + 1`,-ldps $L…
1864 if test $passed -gt 0; then
1865 if test $failed -gt 0; then
1866 AC_MSG_RESULT([no -- some components failed test])
1870 DPS_LIBS="-ldpstk -ldps ${LIBDPS_XT}"
1889 AC_ARG_WITH([dejavu-font-dir],
1890 [AC_HELP_STRING([--with-dejavu-font-dir=DIR],
1896 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dejavu-font-dir=$with_dejavu_font_dir "
1905 [AC_HELP_STRING([--without-fftw],
1911 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fftw=$with_fftw "
1919 AC_MSG_RESULT([-------------------------------------------------------------])
1941 [AC_HELP_STRING([--without-flif],
1947 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-flif=$with_flif "
1953 AC_MSG_RESULT([-------------------------------------------------------------])
1961 if test $passed -gt 0; then
1962 if test $failed -gt 0; then
1963 AC_MSG_RESULT([no -- some components failed test])
1966 FLIF_LIBS='-lflif'
1985 [AC_HELP_STRING([--without-fpx],
1991 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fpx=$with_fpx "
1997 AC_MSG_RESULT([-------------------------------------------------------------])
2007 if test $passed -gt 0; then
2008 if test $failed -gt 0; then
2009 AC_MSG_RESULT([no -- some components failed test])
2012 FPX_LIBS='-lfpx'
2031 [AC_HELP_STRING([--without-djvu],
2037 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-djvu=$with_djvu "
2045 AC_MSG_RESULT([-------------------------------------------------------------])
2067 [AC_HELP_STRING([--without-fontconfig],
2073 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontconfig=$with_fontconfig "
2081 AC_MSG_RESULT([-------------------------------------------------------------])
2101 [AC_HELP_STRING([--without-freetype],
2107 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-freetype=$with_freetype "
2115 AC_MSG_RESULT([-------------------------------------------------------------])
2135 [AC_HELP_STRING([--without-raqm],
2141 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-raqm=$with_raqm "
2149 AC_MSG_RESULT([-------------------------------------------------------------])
2168 # Test for iapi.h & test for gsapi_new_instance in -lgs
2169 # or -framework Ghostscript
2172 [AC_HELP_STRING([--with-gslib],
2173 [enable Ghostscript library support])],
2179 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gslib=$with_gslib "
2185 AC_MSG_RESULT([-------------------------------------------------------------])
2198 if test $passed -gt 0; then
2199 if test $failed -gt 0; then
2200 AC_MSG_RESULT([no -- some components failed test])
2203 if test $framework -gt 0; then
2204 GS_LIBS='-framework Ghostscript'
2209 GS_LIBS='-lgs'
2224 [AC_HELP_STRING([--with-fontpath=DIR],
2229 if test "$with_fontpath" != "yes" && test -z "$with_fontpath"; then
2235 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontpath=$with_fontpath "
2239 AC_ARG_WITH([gs-font-dir],
2240 [AC_HELP_STRING([--with-gs-font-dir=DIR],
2246 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gs-font-dir=$with_gs_font_dir "
2255 [AC_HELP_STRING([--with-gvc],
2256 [enable GVC support])],
2261 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gvc=$with_gvc "
2266 AC_MSG_RESULT([-------------------------------------------------------------])
2286 [AC_HELP_STRING([--without-heic],
2292 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-heic=$with_heic "
2300 AC_MSG_RESULT([-------------------------------------------------------------])
2320 [AC_HELP_STRING([--without-jbig],
2328 AC_MSG_RESULT([-------------------------------------------------------------])
2336 if test $passed -gt 0; then
2337 if test $failed -gt 0; then
2338 AC_MSG_RESULT([no -- some components failed test])
2341 JBIG_LIBS='-ljbig'
2360 [AC_HELP_STRING([--without-jpeg],
2366 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jpeg=$with_jpeg "
2372 AC_MSG_RESULT([-------------------------------------------------------------])
2403 if test $passed -gt 0; then
2404 if test $failed -gt 0; then
2405 AC_MSG_RESULT([no -- some components failed test])
2408 JPEG_LIBS='-ljpeg'
2427 [ --without-lcms disable lcms (v1.1X) support],
2431 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lcms=$with_lcms "
2439 AC_MSG_RESULT([-------------------------------------------------------------])
2467 [AC_HELP_STRING([--without-openjp2],
2473 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 "
2481 AC_MSG_RESULT([-------------------------------------------------------------])
2502 [AC_HELP_STRING([--without-lqr],
2508 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lqr=$with_lqr "
2516 AC_MSG_RESULT([-------------------------------------------------------------])
2517 PKG_CHECK_MODULES(LQR,[lqr-1 >= 0.1.0], have_lqr=yes, have_lqr=no)
2534 [ --without-lzma disable LZMA support],
2538 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lzma=$with_lzma "
2543 AC_MSG_RESULT([-------------------------------------------------------------])
2563 [AC_HELP_STRING([--without-openexr],
2569 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openexr=$with_openexr "
2577 AC_MSG_RESULT([-------------------------------------------------------------])
2597 [AC_HELP_STRING([--without-pango],
2603 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-pango=$with_pango "
2612 AC_MSG_RESULT([-------------------------------------------------------------])
2640 [AC_HELP_STRING([--without-png],
2646 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-png=$with_png "
2654 AC_MSG_RESULT([-------------------------------------------------------------])
2674 [AC_HELP_STRING([--without-raw],
2680 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-libraw=$with_raw "
2688 AC_MSG_RESULT([-------------------------------------------------------------])
2708 [AC_HELP_STRING([--with-rsvg],
2709 [enable RSVG support])],
2714 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-rsvg=$with_rsvg "
2723 AC_MSG_RESULT([-------------------------------------------------------------])
2724 PKG_CHECK_MODULES(RSVG,[librsvg-2.0 >= 2.9.0], have_rsvg=yes, have_rsvg=no)
2726 PKG_CHECK_MODULES(CAIRO_SVG, cairo-svg, have_cairo=yes, have_cairo=no)
2751 [AC_HELP_STRING([--without-tiff],
2757 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-tiff=$with_tiff "
2763 AC_MSG_RESULT([-------------------------------------------------------------])
2776 if test $passed -gt 0; then
2777 if test $failed -gt 0; then
2778 AC_MSG_RESULT([no -- some components failed test])
2781 TIFF_LIBS='-ltiff'
2802 AC_ARG_WITH([urw-base35-font-dir],
2803 [AC_HELP_STRING([--with-urw-base35-font-dir=DIR],
2804 [URW-base35 font directory])],
2809 …DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-urw-base35-font-dir=$with_urw_base35_font…
2818 [AC_HELP_STRING([--without-webp],
2824 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-webp=$with_webp "
2836 AC_MSG_RESULT([-------------------------------------------------------------])
2864 AC_ARG_WITH([windows-font-dir],
2865 [AC_HELP_STRING([--with-windows-font-dir=DIR],
2871 … DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-windows-font-dir=$with_windows_font_dir "
2880 [AC_HELP_STRING([--with-wmf],
2881 [enable WMF support])],
2886 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-wmf=$with_wmf "
2905 WMF_LIBS='-lwmflite'
2909 AC_MSG_RESULT([no -- some components failed test])
2933 [AC_HELP_STRING([--without-xml],
2939 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-xml=$with_xml "
2947 AC_MSG_RESULT([-------------------------------------------------------------])
2948 PKG_CHECK_MODULES(XML,[libxml-2.0 >= 2.0.0], have_xml=yes, have_xml=no)
2972 INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
2995 LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_VERSION}"
3017 AC_DEFINE_UNQUOTED(LIBRARY_PATH,"$DEFINE_LIBRARY_PATH",[Directory where architecture-dependent file…
3029 LIB_BIN_DIR=${LIB_BIN_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3047 MODULES_DIRNAME=${MODULES_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3086 DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3098 # Enable/Disable documentation
3100 [AS_HELP_STRING([--disable-docs],
3105 # Subdirectory to place architecture-dependent configuration files
3106 CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3107 …TIVE_PATH,"$CONFIGURE_RELATIVE_PATH",[Subdirectory of lib where architecture-dependent configurati…
3115 AC_DEFINE_UNQUOTED(CONFIGURE_PATH,"$DEFINE_CONFIGURE_PATH",[Directory where architecture-dependent …
3118 # Subdirectory to place architecture-independent configuration files
3119 SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
3120 …RELATIVE_PATH,"$SHARE_RELATIVE_PATH",[Subdirectory of lib where architecture-independent configura…
3128 AC_DEFINE_UNQUOTED(SHARE_PATH,"$DEFINE_SHARE_PATH",[Directory where architecture-independent config…
3132 # Subdirectory to place architecture-dependent configuration files.
3140 SHAREARCH_DIRNAME=${SHAREARCH_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3157 AC_MSG_RESULT([-------------------------------------------------------------])
3163 BrowseDelegateDefault='xdg-open'
3164 DNGDecodeDelegateDefault='ufraw-batch'
3195 RSVGDecodeDelegateDefault='rsvg-convert'
3207 AC_PATH_PROGS(BrowseDelegate, "$BrowseDelegateDefault" google-chrome firefox konqueror mozilla lynx…
3253 PrintDelegate="$LPDelegate -c -s"
3284 if test -f "${font_dir}Arial.ttf"; then
3291 type_include_files="${type_include_files} "'<include file="type-apple.xml" />'
3305 if test -f "${font_dir}DejaVuSerif.ttf"; then
3312 type_include_files="${type_include_files} "'<include file="type-dejavu.xml" />'
3328 if test -f "${font_dir}a010013l.pfb"; then
3334 …ghostscript_font_dir=`echo "${PSDelegate}" | sed -e 's:/gs/.*:/gs:;s:^/::;s/./&:/;s:/:\\\\:g'`"\\f…
3339 if test -f "${font_dir}a010013l.pfb"; then
3346 ghostscript_font_dir=`echo "$PSDelegate" | sed -e 's:/bin/gs:/share/ghostscript/fonts:'`"/"
3352 type_include_files="${type_include_files} "'<include file="type-ghostscript.xml" />'
3364 # URW-base35 fonts.
3365 AC_MSG_CHECKING(for URW-base35 fonts directory)
3370 for font_dir in "${prefix}/share/urw-base35/fonts/" '/usr/share/fonts/urw-base35/'; do
3371 if test -f "${font_dir}StandardSymbolsPS.t1"; then
3378 type_include_files="${type_include_files} "'<include file="type-urw-base35.xml" />'
3392 if test -f "${font_dir}arial.ttf"; then
3399 type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
3412 # Re-set delegate definitions to default (no paths)
3503 # ZIP support (http://www.info-zip.org/Zip.html)
3516 if test -z "$PCLVersion"; then
3520 AC_MSG_RESULT([-------------------------------------------------------------])
3525 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3534 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3543 …if $PCLDelegate -dBATCH -sDEVICE=$PCLMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3562 if test -z "$XPSVersion"; then
3566 AC_MSG_RESULT([-------------------------------------------------------------])
3571 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3580 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3589 …if $XPSDelegate -dBATCH -sDEVICE=$XPSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3614 AC_MSG_RESULT([-------------------------------------------------------------])
3618 if GSVersion=`$PSDelegate --version`; then
3621 GSVersion=`$PSDelegate --help | sed -e '1q' | awk '{ print $3 }'`
3627 …if $PSDelegate -q -dBATCH -sDEVICE=$GSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3636 …if $PSDelegate -q -dBATCH -sDEVICE=$GSAlphaDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3645 …if $PSDelegate -q -dBATCH -sDEVICE=$GSCMYKDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3654 …if $PSDelegate -q -dBATCH -sDEVICE=$GSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3663 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPDFDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3672 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LO…
3681 …if $PSDelegate -q -dBATCH -sDEVICE=$GSEPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3699 # PerlMagick-related configuration
3706 AC_MSG_RESULT([-------------------------------------------------------------])
3723 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-perl=$with_perl "
3751 # Linker search path to library, followed by -lMagickCore
3871 MAGICK_DELEGATES=`echo $MAGICK_DELEGATES | sed -e 's/ */ /g'`
3872 MAGICK_FEATURES=`echo $MAGICK_FEATURES | sed -e 's/ */ /g'`
3880 # Add '-p' if prof source profiling support enabled
3882 CFLAGS="-p $CFLAGS"
3883 CXXFLAGS="-p $CXXFLAGS"
3884 LDFLAGS="-p $LDFLAGS"
3887 # Add '-pg' if gprof source profiling support enabled
3889 CFLAGS="-pg $CFLAGS"
3890 CXXFLAGS="-pg $CXXFLAGS"
3891 LDFLAGS="-pg $LDFLAGS"
3894 # Add '-ftest-coverage -fprofile-arcs' if gcov source profiling support enabled
3895 # This is a gcc-specific feature
3901 OSX_GCOV_LDFLAG="-Wl,-single_module"
3908 CFLAGS="-ftest-coverage -fprofile-arcs $CFLAGS"
3909 CXXFLAGS="-ftest-coverage -fprofile-arcs $CXXFLAGS"
3910 LDFLAGS="-ftest-coverage -fprofile-arcs $LDFLAGS"
3926 # Pass only user-provided LIBS as "global" libraries
3938 MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/ */ /g'`
3939 MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/ */ /g'`
3940 MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
3953 AC_CONFIG_COMMANDS([MagickCore-config.in],[chmod +x MagickCore/MagickCore-config])
3954 AC_CONFIG_COMMANDS([MagickWand-config.in],[chmod +x MagickWand/MagickWand-config])
3955 AC_CONFIG_COMMANDS([Magick++-config.in],[chmod +x Magick++/bin/Magick++-config])
3958 AC_MSG_RESULT([-------------------------------------------------------------])
3961 rm -f magick-version
3994 config/type-apple.xml \
3995 config/type-dejavu.xml \
3996 config/type-ghostscript.xml \
3997 config/type-urw-base35.xml \
3998 config/type-windows.xml \
4001 Magick++/bin/Magick++-config \
4004 MagickCore/MagickCore-config \
4027 utilities/magick-script.1 \
4031 MagickWand/MagickWand-config \
4047 ------------------------------------------------------------------------------
4048 Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
4049 Static libraries --enable-static=$enable_static $libtool_build_static_libs
4050 Build utilities --with-utilities=$with_utilities $with_utilities
4051 Module support --with-modules=$build_modules $build_modules
4052 GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
4053 Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
4055 --enable-hdri=$enable_hdri $enable_hdri
4060 BZLIB --with-bzlib=$with_bzlib $have_bzlib
4061 Autotrace --with-autotrace=$with_autotrace $have_autotrace
4062 DJVU --with-djvu=$with_djvu $have_djvu
4063 DPS --with-dps=$with_dps $have_dps
4064 FFTW --with-fftw=$with_fftw $have_fftw
4065 FLIF --with-flif=$with_flif $have_flif
4066 FlashPIX --with-fpx=$with_fpx $have_fpx
4067 FontConfig --with-fontconfig=$with_fontconfig $have_fontconfig
4068 FreeType --with-freetype=$with_freetype $have_freetype
4069 Ghostscript lib --with-gslib=$with_gslib $have_gslib
4070 Graphviz --with-gvc=$with_gvc $have_gvc
4071 HEIC --with-heic=$with_heic $have_heic
4072 JBIG --with-jbig=$with_jbig $have_jbig
4073 JPEG v1 --with-jpeg=$with_jpeg $have_jpeg
4074 LCMS --with-lcms=$with_lcms $have_lcms
4075 LQR --with-lqr=$with_lqr $have_lqr
4076 LTDL --with-ltdl=$with_ltdl $have_ltdl
4077 LZMA --with-lzma=$with_lzma $have_lzma
4078 Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus
4079 OpenEXR --with-openexr=$with_openexr $have_openexr
4080 OpenJP2 --with-openjp2=$with_openjp2 $have_openjp2
4081 PANGO --with-pango=$with_pango $have_pango
4082 PERL --with-perl=$with_perl $have_perl
4083 PNG --with-png=$with_png $have_png
4084 RAQM --with-raqm=$with_raqm $have_raqm
4085 RAW --with-raw=$with_raw $have_raw
4086 RSVG --with-rsvg=$with_rsvg $have_rsvg
4087 TIFF --with-tiff=$with_tiff $have_tiff
4088 WEBP --with-webp=$with_webp $have_webp
4089 WMF --with-wmf=$with_wmf $have_wmf
4090 X11 --with-x=$with_x $have_x
4091 XML --with-xml=$with_xml $have_xml
4092 ZLIB --with-zlib=$with_zlib $have_zlib
4093 ZSTD --with-zstd=$with_zstd $have_zstd
4101 Apple fonts --with-apple-font-dir=$with_apple_font_dir $result_apple_font_dir
4102 Dejavu fonts --with-dejavu-font-dir=$with_dejavu_font_dir $result_dejavu_font_dir
4103 Ghostscript fonts --with-gs-font-dir=$with_gs_font_dir $result_ghostscript_font_dir
4104 …URW-base35 fonts --with-urw-base35-font-dir=$with_urw_base35_font_dir $result_urw_base35_font_dir
4105 Windows fonts --with-windows-font-dir=$with_windows_font_dir $result_windows_font_dir
4115 EXEC-PREFIX = $EXEC_PREFIX_DIR