Lines Matching +full:- +full:- +full:gcov +full:- +full:options
1 # Copyright 1999-2016 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 .) | tr -d '\n'"]))
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],
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
305 # Test for 64-bit build.
317 CFLAGS="$CFLAGS -fexceptions"
329 # Enable run-time checking.
331 AC_ARG_ENABLE([bounds-checking],
332 [AC_HELP_STRING([--enable-bounds-checking],
333 [enable run-time bounds-checking])],
339 [enable run-time bounds-checking])
354 GDI32_LIBS='-lgdi32'
358 GDI32_LIBS='-lgdi32'
378 *-*-hpux* )
380 CFLAGS="${CFLAGS} -Wp,-H30000"
381 if test -n "${CXXFLAGS}"; then
382 CXXFLAGS='-AA'
384 CXXFLAGS="${CXXFLAGS} -AA"
387 *-dec-osf5.* )
388 # Compaq alphaev68-dec-osf5.1 compiler
389 if test -n "${CXXFLAGS}"; then
390 CXXFLAGS='-std strict_ansi -noimplicit_include'
392 CXXFLAGS="${CXXFLAGS} -std strict_ansi -noimplicit_include"
397 # Check for lazy-loading.
402 *-*-solaris2.8 | *-*-solaris2.9 | *-*-solaris2.1? )
404 im_cv_ld_lazyload='-Wl,-zlazyload'
410 if test -z "${LDFLAGS}" ; then
417 dnl Platform-specific stuff
419 *darwin* | *-macos10*)
421 CFLAGS="${CFLAGS} -D_FORTIFY_SOURCE=0"
422 dnl OS X universal binary support, requires --disable-dependency-tracking
423 AC_ARG_ENABLE([osx-universal-binary],
424 AC_HELP_STRING([--enable-osx-universal-binary],
430 AC_MSG_ERROR([--enable-osx-universal-binary requires --disable-dependency-tracking.
431 Please re-run configure with these options:
432 --disable-dependency-tracking --enable-osx-universal-binary
435 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
436 CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
437 LDFLAGS="$LDFLAGS -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch i386"
445 AC_ARG_WITH([includearch-dir],
446 [AC_HELP_STRING([--includearch-dir=DIR],
457 AC_ARG_WITH([sharearch-dir],
458 [AC_HELP_STRING([--sharearch-dir=DIR],
467 AC_ARG_WITH([pkgconfigdir], AS_HELP_STRING([--with-pkgconfigdir=DIR],
478 [AC_HELP_STRING([--without-threads], [disable threads support])],
552 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
556 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGE_FILES=1"
559 LFS_CPPFLAGS="$LFS_CPPFLAGS -D_LARGEFILE_SOURCE=1"
566 LT_INIT([win32-dll])
588 [AC_HELP_STRING([--with-modules],
610 AC_ARG_ENABLE([delegate-build],
611 [AC_HELP_STRING([--enable-delegate-build],
617 [AC_HELP_STRING([--disable-deprecated],
625 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-deprecated "
631 [AC_HELP_STRING([--disable-installed],
639 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --disable-installed "
644 [AC_HELP_STRING([--disable-cipher],
654 # Build a zero-configuration version of ImageMagick.
655 AC_ARG_ENABLE([zero-configuration],
656 [AC_HELP_STRING([--enable-zero-configuration],
657 [enable self-contained, embeddable, zero-configuration ImageMagick])],
662 …AC_DEFINE(ZERO_CONFIGURATION_SUPPORT,1,[Build self-contained, embeddable, zero-configuration Image…
663 MAGICK_FEATURES="Zero-configuration $MAGICK_FEATURES"
668 [AC_HELP_STRING([--enable-hdri],
683 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
684 CFLAGS="$CFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
685 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_HDRI_ENABLE=$magick_hdri_enable"
689 [AC_HELP_STRING([--enable-pipes],
701 [AC_HELP_STRING([--disable-assert],
715 [AC_HELP_STRING([--enable-hugepages],
722 [AC_HELP_STRING([--enable-ccmalloc],
729 [AC_HELP_STRING([--enable-efence],
734 # Enable prof-based profiling support
736 [AC_HELP_STRING([--enable-prof],
741 # Enable gprof-based profiling support
743 [AC_HELP_STRING([--enable-gprof],
748 # Enable gcov-based profiling support
749 AC_ARG_ENABLE([gcov], optenable
750 [AC_HELP_STRING([--enable-gcov],
751 [enable 'gcov' profiling support])],
764 AC_ARG_WITH([method-prefix],
765 [AC_HELP_STRING([--with-method-prefix=PREFIX],
772 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-method-prefix "
776 AC_ARG_ENABLE(legacy-support,
777 [ --enable-legacy-support install legacy command-line utilities (default disabled)],
783 AC_ARG_WITH([quantum-depth],
784 [AC_HELP_STRING([--with-quantum-depth=DEPTH],
790 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-quantum-depth=$with_quantum_depth "
803 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
804 CFLAGS="$CFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
805 CPPFLAGS="$CPPFLAGS -DMAGICKCORE_QUANTUM_DEPTH=$QUANTUM_DEPTH"
816 [AC_HELP_STRING([--with-cache=THRESHOLD],
823 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-cache=$with_cache "
828 [AC_HELP_STRING([--with-frozenpaths],
834 AC_ARG_WITH([magick-plus-plus],
835 [AC_HELP_STRING([--without-magick-plus-plus],
841 AC_ARG_WITH([package-release-name],
842 [AC_HELP_STRING([--with-package-release-name=NAME],
844 [MAGICK_LT_RELEASE_OPTS="-release $withval"])
849 [AC_HELP_STRING([--with-perl],
854 # Options to pass when configuring PerlMagick
855 AC_ARG_WITH([perl-options],
856 [AC_HELP_STRING([--with-perl-options=OPTIONS],
857 [options to pass on command-line when generating PerlMagick build file])],
861 # Enable jemalloc, object-caching memory allocation library.
863 [ --with-jemalloc enable jemalloc memory allocation library support],
867 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jemalloc=$with_jemalloc "
870 # Enable umem, object-caching memory allocation library.
872 [ --with-umem enable umem memory allocation library support],
876 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-umem=$with_umem "
883 [AC_HELP_STRING([--with-libstdc=DIR],
889 if test -d "$with_libstdc"; then
890 LIBSTDCLDFLAGS="-L$with_libstdc"
895 # Does gcc required -traditional?
903 # These options are set for multi-thread DLL module build
911 CPPFLAGS="$CPPFLAGS -D_DLL"
912 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
913 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
914 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
916 LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
918 MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
921 CPPFLAGS="$CPPFLAGS -D_LIB"
922 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_LIB"
923 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_LIB"
926 CPPFLAGS="$CPPFLAGS -D_MT"
927 MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_MT"
928 MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_MT"
945 …plex.h errno.h fcntl.h limits.h linux/unistd.h locale.h machine/param.h mach-o/dyld.h netinet/in.h…
1053 # Compute sized types for current CPU and compiler options.
1056 AC_MSG_CHECKING(for signed 8-bit type)
1061 AC_MSG_CHECKING(for unsigned 8-bit type)
1066 AC_MSG_CHECKING(for signed 16-bit type)
1071 AC_MSG_CHECKING(for unsigned 16-bit type)
1076 AC_MSG_CHECKING(for signed 32-bit type)
1079 if test $ac_cv_sizeof_signed_int -eq 4; then
1082 elif test $ac_cv_sizeof_signed_long -eq 4; then
1090 AC_MSG_CHECKING(for unsigned 32-bit type)
1093 if test $ac_cv_sizeof_unsigned_int -eq 4; then
1096 elif test $ac_cv_sizeof_unsigned_long -eq 4; then
1104 AC_MSG_CHECKING(for signed 64-bit type)
1107 if test $ac_cv_sizeof_signed_long -eq 8; then
1110 elif test $ac_cv_sizeof_signed_long_long -eq 8; then
1123 AC_MSG_CHECKING(for unsigned 64-bit type)
1126 if test $ac_cv_sizeof_unsigned_long -eq 8; then
1129 elif test $ac_cv_sizeof_unsigned_long_long -eq 8; then
1159 if test $ac_cv_sizeof_unsigned_long -eq $ac_cv_sizeof_unsigned_intp; then
1162 elif test $ac_cv_sizeof_unsigned_long_long -eq $ac_cv_sizeof_unsigned_intp; then
1205 AC_CHECK_LIB(m,sqrt,MATH_LIBS="-lm",,)
1301 # Check for delegate sub-directories and add -I & -L options as required.
1304 # compiler will automatically find them then these options should not be
1312 if test -d "$builddir/$dir"; then
1313 CPPFLAGS="$CPPFLAGS -I$builddir/$dir"
1315 if test -d "$srcdirfull/$dir"; then
1316 CPPFLAGS="$CPPFLAGS -I$srcdirfull/$dir"
1323 if test -d "$builddir/$dir/.libs"; then
1324 LDFLAGS="$LDFLAGS -L$builddir/$dir/.libs"
1326 if test -d "$srcdirfull/$dir/.libs"; then
1327 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir/.libs"
1330 if test -d "$builddir/$dir"; then
1331 LDFLAGS="$LDFLAGS -L$builddir/$dir"
1333 if test -d "$srcdirfull/$dir"; then
1334 LDFLAGS="$LDFLAGS -L$srcdirfull/$dir"
1342 MAGICK_CPPFLAGS="-I$INCLUDE_DIR/${PACKAGE_NAME}-$MAGICK_MAJOR_VERSION $MAGICK_CPPFLAGS"
1383 if test -f "$ac_dir/X11/rgb.txt"; then
1386 elif test -f "$ac_dir/rgb.txt"; then
1408 if $CC --version 2>&1 | grep Open64 > /dev/null ; then
1409 AC_CHECK_LIB(openmp,omp_get_num_procs,GOMP_LIBS="-lopenmp",,)
1414 AC_CHECK_LIB(gomp,GOMP_parallel_start,GOMP_LIBS="-lgomp",,)
1419 AC_CHECK_LIB(mtsk,sunw_mp_register_warn,GOMP_LIBS="-lmtsk",,)
1423 AC_CHECK_LIB(xlsmp,_xlsmpFlush,GOMP_LIBS="-lxlsmp",,)
1427 AC_CHECK_LIB(mp,mp_destroy,GOMP_LIBS="-lmp",,)
1447 if test $passed -gt 0; then
1448 if test $failed -gt 0; then
1449 AC_MSG_RESULT(no -- some components failed test)
1452 JEMALLOC_LIBS='-ljemalloc'
1479 if test $passed -gt 0; then
1480 if test $failed -gt 0; then
1481 AC_MSG_RESULT(no -- some components failed test)
1484 UMEM_LIBS='-lumem'
1504 if test -n "$CCMALLOCDelegate"; then
1505 eval `grep PREFIX= $CCMALLOCDelegate | sed -e 's/PREFIX/CCMALLOC_PREFIX/'`
1508 LIBS="$LIBS $CCMALLOC_PREFIX/lib/ccmalloc-gcc.o"
1509 …ccmalloc,ccmalloc_malloc,CCMALLOC_LIBS="$CCMALLOC_PREFIX/lib/ccmalloc-gcc.o -lccmalloc -ldl",,-ldl)
1510 if test -n "$CCMALLOC_LIBS"; then
1531 EFENCE_LIBS='-lefence'
1542 [AC_HELP_STRING([--without-bzlib],
1548 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-bzlib=$with_bzlib "
1554 AC_MSG_RESULT([-------------------------------------------------------------])
1565 if test $found_libbz -gt 0; then
1571 if test $passed -gt 0; then
1572 if test $failed -gt 0; then
1573 AC_MSG_RESULT(no -- some components failed test)
1576 BZLIB_LIBS='-lbz2'
1598 AC_MSG_RESULT([-------------------------------------------------------------])
1602 X11_LIBS="$X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
1615 LIBS="$LIBS -lcygipc"
1616 AC_TRY_LINK_FUNC([shmctl],[have_shmctl='yes'; IPC_LIBS='-lcygipc'],[])
1621 …AC_CHECK_LIB([Xext],[XShmAttach],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHARED_MEMORY,1,X11 server s…
1627 …AC_CHECK_LIB([Xext],[XShapeCombineMask],[XEXT_LIBS='-lXext' ; AC_DEFINE(HAVE_SHAPE,1,X11 server su…
1628 AC_CHECK_LIB(Xt,XtSetEventDispatcher,XT_LIBS='-lXt',,)
1646 [AC_HELP_STRING([--without-zlib],
1652 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-zlib=$with_zlib "
1660 AC_MSG_RESULT([-------------------------------------------------------------])
1681 AC_MSG_RESULT([-------------------------------------------------------------])
1689 if test $passed -gt 0 ; then
1690 if test $failed -gt 0 ; then
1691 AC_MSG_RESULT([no -- some components failed test])
1694 LTDL_LIBS='-lltdl'
1710 # If profiling, then check for -ldl and dlopen (required for Solaris & gcc)
1714 AC_CHECK_LIB(dl,dlopen,LIB_DL='-ldl',,)
1724 AC_ARG_WITH([apple-font-dir],
1725 [AC_HELP_STRING([--with-apple-font-dir=DIR],
1731 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-apple-font-dir=$with_apple_font_dir "
1740 [AC_HELP_STRING([--with-autotrace],
1746 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-autotrace=$with_autotrace "
1754 AC_MSG_RESULT([-------------------------------------------------------------])
1774 [AC_HELP_STRING([--without-dps],
1780 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dps=$with_dps "
1786 AC_MSG_RESULT([-------------------------------------------------------------])
1792 CPPFLAGS="$CPPFLAGS -I${ac_x_includes}/X11"
1795 # XFree86-4.x needs -lXt to provide XtMalloc for -ldps.
1796 # Cygwin doesn't deliver -lXt as a DLL, which prevents a DLL build.
1797 # Adobe DPS (as delivered on Solaris) doesn't require -lXt.
1798 # ImageMagick itself doesn't use -lXt.
1805 AC_CHECK_LIB(dps,DPSInitialize,have_libdps='yes',have_libdps='no',-lXt)
1807 LIBDPS_XT='-lXt'
1815 …AC_CHECK_LIB(dpstk,XDPSPixelsPerPoint,passed=`expr $passed + 1`,failed=`expr $failed + 1`,-ldps $L…
1817 if test $passed -gt 0; then
1818 if test $failed -gt 0; then
1819 AC_MSG_RESULT([no -- some components failed test])
1823 DPS_LIBS="-ldpstk -ldps ${LIBDPS_XT}"
1842 AC_ARG_WITH([dejavu-font-dir],
1843 [AC_HELP_STRING([--with-dejavu-font-dir=DIR],
1849 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-dejavu-font-dir=$with_dejavu_font_dir "
1858 [AC_HELP_STRING([--without-fftw],
1864 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fftw=$with_fftw "
1872 AC_MSG_RESULT([-------------------------------------------------------------])
1894 [AC_HELP_STRING([--without-flif],
1900 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-flif=$with_flif "
1906 AC_MSG_RESULT([-------------------------------------------------------------])
1914 if test $passed -gt 0; then
1915 if test $failed -gt 0; then
1916 AC_MSG_RESULT([no -- some components failed test])
1919 FLIF_LIBS='-lflif'
1938 [AC_HELP_STRING([--without-fpx],
1944 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fpx=$with_fpx "
1950 AC_MSG_RESULT([-------------------------------------------------------------])
1960 if test $passed -gt 0; then
1961 if test $failed -gt 0; then
1962 AC_MSG_RESULT([no -- some components failed test])
1965 FPX_LIBS='-lfpx'
1984 [AC_HELP_STRING([--without-djvu],
1990 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-djvu=$with_djvu "
1998 AC_MSG_RESULT([-------------------------------------------------------------])
2020 [AC_HELP_STRING([--without-fontconfig],
2026 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontconfig=$with_fontconfig "
2034 AC_MSG_RESULT([-------------------------------------------------------------])
2054 [AC_HELP_STRING([--without-freetype],
2060 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-freetype=$with_freetype "
2068 AC_MSG_RESULT([-------------------------------------------------------------])
2088 [AC_HELP_STRING([--without-raqm],
2094 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-raqm=$with_raqm "
2102 AC_MSG_RESULT([-------------------------------------------------------------])
2121 # Test for iapi.h & test for gsapi_new_instance in -lgs
2122 # or -framework Ghostscript
2125 [AC_HELP_STRING([--with-gslib],
2132 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gslib=$with_gslib "
2138 AC_MSG_RESULT([-------------------------------------------------------------])
2151 if test $passed -gt 0; then
2152 if test $failed -gt 0; then
2153 AC_MSG_RESULT([no -- some components failed test])
2156 if test $framework -gt 0; then
2157 GS_LIBS='-framework Ghostscript'
2162 GS_LIBS='-lgs'
2177 [AC_HELP_STRING([--with-fontpath=DIR],
2182 if test "$with_fontpath" != "yes" && test -z "$with_fontpath"; then
2188 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-fontpath=$with_fontpath "
2192 AC_ARG_WITH([gs-font-dir],
2193 [AC_HELP_STRING([--with-gs-font-dir=DIR],
2199 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gs-font-dir=$with_gs_font_dir "
2208 [AC_HELP_STRING([--with-gvc],
2214 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-gvc=$with_gvc "
2219 AC_MSG_RESULT([-------------------------------------------------------------])
2240 [AC_HELP_STRING([--without-jbig],
2248 AC_MSG_RESULT([-------------------------------------------------------------])
2256 if test $passed -gt 0; then
2257 if test $failed -gt 0; then
2258 AC_MSG_RESULT([no -- some components failed test])
2261 JBIG_LIBS='-ljbig'
2280 [AC_HELP_STRING([--without-jpeg],
2286 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-jpeg=$with_jpeg "
2292 AC_MSG_RESULT([-------------------------------------------------------------])
2323 if test $passed -gt 0; then
2324 if test $failed -gt 0; then
2325 AC_MSG_RESULT([no -- some components failed test])
2328 JPEG_LIBS='-ljpeg'
2347 [ --without-lcms disable lcms (v1.1X) support],
2351 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lcms=$with_lcms "
2359 AC_MSG_RESULT([-------------------------------------------------------------])
2387 [AC_HELP_STRING([--without-openjp2],
2393 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openjp2=$with_openjp2 "
2401 AC_MSG_RESULT([-------------------------------------------------------------])
2422 [AC_HELP_STRING([--without-lqr],
2428 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lqr=$with_lqr "
2436 AC_MSG_RESULT([-------------------------------------------------------------])
2437 PKG_CHECK_MODULES(LQR,[lqr-1 >= 0.1.0], have_lqr=yes, have_lqr=no)
2454 [ --without-lzma disable LZMA support],
2458 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-lzma=$with_lzma "
2463 AC_MSG_RESULT([-------------------------------------------------------------])
2483 [AC_HELP_STRING([--without-openexr],
2489 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-openexr=$with_openexr "
2497 AC_MSG_RESULT([-------------------------------------------------------------])
2517 [AC_HELP_STRING([--without-pango],
2523 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-pango=$with_pango "
2532 AC_MSG_RESULT([-------------------------------------------------------------])
2560 [AC_HELP_STRING([--without-png],
2566 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-png=$with_png "
2574 AC_MSG_RESULT([-------------------------------------------------------------])
2594 [AC_HELP_STRING([--with-rsvg],
2600 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-rsvg=$with_rsvg "
2609 AC_MSG_RESULT([-------------------------------------------------------------])
2610 PKG_CHECK_MODULES(RSVG,[librsvg-2.0 >= 2.9.0], have_rsvg=yes, have_rsvg=no)
2612 PKG_CHECK_MODULES(CAIRO_SVG, cairo-svg, have_cairo=yes, have_cairo=no)
2637 [AC_HELP_STRING([--without-tiff],
2643 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-tiff=$with_tiff "
2649 AC_MSG_RESULT([-------------------------------------------------------------])
2662 if test $passed -gt 0; then
2663 if test $failed -gt 0; then
2664 AC_MSG_RESULT([no -- some components failed test])
2667 TIFF_LIBS='-ltiff'
2691 [AC_HELP_STRING([--without-webp],
2697 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-webp=$with_webp "
2703 AC_MSG_RESULT([-------------------------------------------------------------])
2711 if test $passed -gt 0; then
2712 if test $failed -gt 0; then
2713 AC_MSG_RESULT([no -- some components failed test])
2716 WEBP_LIBS='-lwebp'
2734 AC_ARG_WITH([windows-font-dir],
2735 [AC_HELP_STRING([--with-windows-font-dir=DIR],
2741 … DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-windows-font-dir=$with_windows_font_dir "
2750 [AC_HELP_STRING([--with-wmf],
2756 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-wmf=$with_wmf "
2775 WMF_LIBS='-lwmflite'
2779 AC_MSG_RESULT([no -- some components failed test])
2803 [AC_HELP_STRING([--without-xml],
2809 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-xml=$with_xml "
2817 AC_MSG_RESULT([-------------------------------------------------------------])
2818 PKG_CHECK_MODULES(XML,[libxml-2.0 >= 2.0.0], have_xml=yes, have_xml=no)
2842 INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
2865 LIBRARY_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_VERSION}"
2887 AC_DEFINE_UNQUOTED(LIBRARY_PATH,"$DEFINE_LIBRARY_PATH",[Directory where architecture-dependent file…
2899 LIB_BIN_DIR=${LIB_BIN_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
2917 MODULES_DIRNAME=${MODULES_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
2956 DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
2970 [AS_HELP_STRING([--disable-docs],
2975 # Subdirectory to place architecture-dependent configuration files
2976 CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
2977 …TIVE_PATH,"$CONFIGURE_RELATIVE_PATH",[Subdirectory of lib where architecture-dependent configurati…
2985 AC_DEFINE_UNQUOTED(CONFIGURE_PATH,"$DEFINE_CONFIGURE_PATH",[Directory where architecture-dependent …
2988 # Subdirectory to place architecture-independent configuration files
2989 SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}"
2990 …RELATIVE_PATH,"$SHARE_RELATIVE_PATH",[Subdirectory of lib where architecture-independent configura…
2998 AC_DEFINE_UNQUOTED(SHARE_PATH,"$DEFINE_SHARE_PATH",[Directory where architecture-independent config…
3002 # Subdirectory to place architecture-dependent configuration files.
3010 SHAREARCH_DIRNAME=${SHAREARCH_BASEDIRNAME}-${MAGICK_ABI_SUFFIX}
3027 AC_MSG_RESULT([-------------------------------------------------------------])
3033 BrowseDelegateDefault='xdg-open'
3034 DNGDecodeDelegateDefault='ufraw-batch'
3064 RSVGDecodeDelegateDefault='rsvg-convert'
3076 AC_PATH_PROGS(BrowseDelegate, "$BrowseDelegateDefault" google-chrome firefox konqueror mozilla lynx…
3117 # Prefer lpr to lp; lp needs options tacked on.
3121 PrintDelegate="$LPDelegate -c -s"
3152 if test -f "${font_dir}Arial.ttf"; then
3159 type_include_files="${type_include_files} "'<include file="type-apple.xml" />'
3173 if test -f "${font_dir}DejaVuSerif.ttf"; then
3180 type_include_files="${type_include_files} "'<include file="type-dejavu.xml" />'
3196 if test -f "${font_dir}a010013l.pfb"; then
3202 …ghostscript_font_dir=`echo "${PSDelegate}" | sed -e 's:/gs/.*:/gs:;s:^/::;s/./&:/;s:/:\\\\:g'`"\\f…
3207 if test -f "${font_dir}a010013l.pfb"; then
3214 ghostscript_font_dir=`echo "$PSDelegate" | sed -e 's:/bin/gs:/share/ghostscript/fonts:'`"/"
3220 type_include_files="${type_include_files} "'<include file="type-ghostscript.xml" />'
3239 if test -f "${font_dir}arial.ttf"; then
3246 type_include_files="${type_include_files} "'<include file="type-windows.xml" />'
3259 # Re-set delegate definitions to default (no paths)
3348 # ZIP support (http://www.info-zip.org/Zip.html)
3361 if test -z "$PCLVersion"; then
3365 AC_MSG_RESULT([-------------------------------------------------------------])
3370 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3379 …if $PCLDelegate -dBATCH -sDEVICE=$PCLColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3388 …if $PCLDelegate -dBATCH -sDEVICE=$PCLMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3407 if test -z "$XPSVersion"; then
3411 AC_MSG_RESULT([-------------------------------------------------------------])
3416 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3425 …if $XPSDelegate -dBATCH -sDEVICE=$XPSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3434 …if $XPSDelegate -dBATCH -sDEVICE=$XPSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3459 AC_MSG_RESULT([-------------------------------------------------------------])
3463 if GSVersion=`$PSDelegate --version`; then
3466 GSVersion=`$PSDelegate --help | sed -e '1q' | awk '{ print $3 }'`
3472 …if $PSDelegate -q -dBATCH -sDEVICE=$GSColorDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3481 …if $PSDelegate -q -dBATCH -sDEVICE=$GSAlphaDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE…
3490 …if $PSDelegate -q -dBATCH -sDEVICE=$GSCMYKDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3499 …if $PSDelegate -q -dBATCH -sDEVICE=$GSMonoDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_…
3508 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPDFDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3517 …if $PSDelegate -q -dBATCH -sDEVICE=$GSPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_LO…
3526 …if $PSDelegate -q -dBATCH -sDEVICE=$GSEPSDevice -sOutputFile=/dev/null < /dev/null 1>&AS_MESSAGE_L…
3544 # PerlMagick-related configuration
3551 AC_MSG_RESULT([-------------------------------------------------------------])
3568 DISTCHECK_CONFIG_FLAGS="${DISTCHECK_CONFIG_FLAGS} --with-perl=$with_perl "
3596 # Linker search path to library, followed by -lMagickCore
3707 MAGICK_DELEGATES=`echo $MAGICK_DELEGATES | sed -e 's/ */ /g'`
3708 MAGICK_FEATURES=`echo $MAGICK_FEATURES | sed -e 's/ */ /g'`
3716 # Add '-p' if prof source profiling support enabled
3718 CFLAGS="-p $CFLAGS"
3719 CXXFLAGS="-p $CXXFLAGS"
3720 LDFLAGS="-p $LDFLAGS"
3723 # Add '-pg' if gprof source profiling support enabled
3725 CFLAGS="-pg $CFLAGS"
3726 CXXFLAGS="-pg $CXXFLAGS"
3727 LDFLAGS="-pg $LDFLAGS"
3730 # Add '-ftest-coverage -fprofile-arcs' if gcov source profiling support enabled
3731 # This is a gcc-specific feature
3733 AC_CHECK_LIB(gcov,_gcov_init)
3734 AC_CHECK_LIB(gcov,__gcov_init)
3737 OSX_GCOV_LDFLAG="-Wl,-single_module"
3744 CFLAGS="-ftest-coverage -fprofile-arcs $CFLAGS"
3745 CXXFLAGS="-ftest-coverage -fprofile-arcs $CXXFLAGS"
3746 LDFLAGS="-ftest-coverage -fprofile-arcs $LDFLAGS"
3760 # Pass only user-provided LIBS as "global" libraries
3772 MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/ */ /g'`
3773 MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/ */ /g'`
3774 MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
3787 AC_CONFIG_COMMANDS([MagickCore-config.in],[chmod +x MagickCore/MagickCore-config])
3788 AC_CONFIG_COMMANDS([MagickWand-config.in],[chmod +x MagickWand/MagickWand-config])
3789 AC_CONFIG_COMMANDS([Magick++-config.in],[chmod +x Magick++/bin/Magick++-config])
3792 AC_MSG_RESULT([-------------------------------------------------------------])
3795 rm -f magick-version
3823 config/type-apple.xml \
3824 config/type-dejavu.xml \
3825 config/type-ghostscript.xml \
3826 config/type-windows.xml \
3829 Magick++/bin/Magick++-config \
3832 MagickCore/MagickCore-config \
3855 utilities/magick-script.1 \
3859 MagickWand/MagickWand-config \
3875 ------------------------------------------------------------------------------
3876 Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
3877 Static libraries --enable-static=$enable_static $libtool_build_static_libs
3878 Module support --with-modules=$build_modules $build_modules
3879 GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
3880 Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
3882 --enable-hdri=$enable_hdri $enable_hdri
3887 BZLIB --with-bzlib=$with_bzlib $have_bzlib
3888 Autotrace --with-autotrace=$with_autotrace $have_autotrace
3889 DJVU --with-djvu=$with_djvu $have_djvu
3890 DPS --with-dps=$with_dps $have_dps
3891 FFTW --with-fftw=$with_fftw $have_fftw
3892 FLIF --with-flif=$with_flif $have_flif
3893 FlashPIX --with-fpx=$with_fpx $have_fpx
3894 FontConfig --with-fontconfig=$with_fontconfig $have_fontconfig
3895 FreeType --with-freetype=$with_freetype $have_freetype
3896 Ghostscript lib --with-gslib=$with_gslib $have_gslib
3897 Graphviz --with-gvc=$with_gvc $have_gvc
3898 JBIG --with-jbig=$with_jbig $have_jbig
3899 JPEG v1 --with-jpeg=$with_jpeg $have_jpeg
3900 LCMS --with-lcms=$with_lcms $have_lcms
3901 LQR --with-lqr=$with_lqr $have_lqr
3902 LTDL --with-ltdl=$with_ltdl $have_ltdl
3903 LZMA --with-lzma=$with_lzma $have_lzma
3904 Magick++ --with-magick-plus-plus=$with_magick_plus_plus $have_magick_plus_plus
3905 OpenEXR --with-openexr=$with_openexr $have_openexr
3906 OpenJP2 --with-openjp2=$with_openjp2 $have_openjp2
3907 PANGO --with-pango=$with_pango $have_pango
3908 PERL --with-perl=$with_perl $have_perl
3909 PNG --with-png=$with_png $have_png
3910 RAQM --with-raqm=$with_raqm $have_raqm
3911 RSVG --with-rsvg=$with_rsvg $have_rsvg
3912 TIFF --with-tiff=$with_tiff $have_tiff
3913 WEBP --with-webp=$with_webp $have_webp
3914 WMF --with-wmf=$with_wmf $have_wmf
3915 X11 --with-x=$with_x $have_x
3916 XML --with-xml=$with_xml $have_xml
3917 ZLIB --with-zlib=$with_zlib $have_zlib
3925 Apple fonts --with-apple-font-dir=$with_apple_font_dir $result_apple_font_dir
3926 Dejavu fonts --with-dejavu-font-dir=$with_dejavu_font_dir $result_dejavu_font_dir
3927 Ghostscript fonts --with-gs-font-dir=$with_gs_font_dir $result_ghostscript_font_dir
3928 Windows fonts --with-windows-font-dir=$with_windows_font_dir $result_windows_font_dir
3936 Options used to compile and link:
3938 EXEC-PREFIX = $EXEC_PREFIX_DIR