/* #undef AUTOTRACE_DELEGATE */
/* Define if coders and filters are to be built as modules. */
-/* #undef BUILD_MODULES */
+#ifndef MAGICKCORE_BUILD_MODULES
+#define MAGICKCORE_BUILD_MODULES 1
+#endif
/* Define if you have the bzip2 library */
#ifndef MAGICKCORE_BZLIB_DELEGATE
/* Define to the system default library search path. */
#ifndef MAGICKCORE_LT_DLSEARCH_PATH
-#define MAGICKCORE_LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/atlas:/usr/lib64/freetype-freeworld:/usr/lib/llvm:/usr/lib64/llvm:/usr/local/lib:/usr/lib64/mysql:/usr/lib64/nvidia:/usr/lib64/qt-3.3/lib:/usr/lib64/tcl8.5/tclx8.4:/usr/lib64/tcl8.5:/usr/lib64/tracker-0.14:/usr/lib/wine/:/usr/lib64/wine/:/usr/lib64/xulrunner-2"
+#define MAGICKCORE_LT_DLSEARCH_PATH "/lib64:/usr/lib64:/lib:/usr/lib:/usr/lib64/atlas:/usr/lib64/freetype-freeworld:/usr/lib/llvm:/usr/lib64/llvm:/usr/local/lib:/usr/lib64/mysql:/usr/lib64/nvidia:/usr/lib64/qt-3.3/lib:/usr/lib64/tcl8.5/tclx8.4:/usr/lib64/tcl8.5:/usr/lib64/tracker-0.14:/usr/lib/wine/:/usr/lib64/wine/:/usr/lib64/xulrunner"
#endif
/* The archive extension */
*/
#define MagickPackageName "ImageMagick"
#define MagickCopyright "Copyright (C) 1999-2012 ImageMagick Studio LLC"
-#define MagickSVNRevision "9592M"
+#define MagickSVNRevision "9602:9608M"
#define MagickLibVersion 0x700
#define MagickLibVersionText "7.0.0"
#define MagickLibVersionNumber 7,0,0
#define MagickLibAddendum "-0"
#define MagickLibInterface 7
#define MagickLibMinInterface 7
-#define MagickReleaseDate "2012-10-11"
+#define MagickReleaseDate "2012-10-13"
#define MagickChangeDate "20121005"
#define MagickAuthoritativeURL "http://www.imagemagick.org"
#if defined(MAGICKCORE_OPENMP_SUPPORT)
DIRSEP = @DIRSEP@
DISTCHECK_CONFIG_FLAGS = @DISTCHECK_CONFIG_FLAGS@
DJVU_LIBS = @DJVU_LIBS@
-DLLDFLAGS = @DLLDFLAGS@
DLLTOOL = @DLLTOOL@
DNGDecodeDelegate = @DNGDecodeDelegate@
DOCUMENTATION_PATH = @DOCUMENTATION_PATH@
}
# defaults for LIBS & INC & CCFLAGS params that we later pass to Writemakefile
-my $INC_magick = '-I../ -I.. -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/libxml2 -I"' . $Config{'usrinc'} . '/ImageMagick"';
+my $INC_magick = '-I../ -I.. -I/usr/include/freetype2 -I/usr/include/libxml2 -I"' . $Config{'usrinc'} . '/ImageMagick"';
my $LIBS_magick = '-L../MagickCore/.libs -lMagickCore -lperl -lm';
-my $CCFLAGS_magick = "$Config{'ccflags'} -pthread -I/usr/include/OpenEXR -fopenmp -g -O2 -Wall -pthread";
+my $CCFLAGS_magick = "$Config{'ccflags'} -fopenmp -g -O2 -Wall -pthread";
my $LDFLAGS_magick = "-L../MagickCore/.libs -lMagickCore $Config{'ldflags'} -L/usr/lib";
my $LDDLFLAGS_magick = "-L../MagickCore/.libs -lMagickCore $Config{'lddlflags'} -L/usr/lib";
#'CC' => 'gcc -std=gnu99 -std=gnu99',
# C pre-processor flags (e.g. -I & -D options)
- # 'CPPFLAGS' => "$Config{'cppflags'} -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/libxml2",
+ # 'CPPFLAGS' => "$Config{'cppflags'} -I/usr/include/freetype2 -I/usr/include/libxml2",
# C compiler flags (e.g. -O -g)
'CCFLAGS' => $CCFLAGS_magick,
MAINTAINER_MODE_FALSE
MAINTAINER_MODE_TRUE
MAGICK_HDRI
-DLLDFLAGS
WITH_LTDL_FALSE
WITH_LTDL_TRUE
WITH_MODULES_FALSE
MAGICK_LIBRARY_VERSION_INFO=$MAGICK_LIBRARY_CURRENT:$MAGICK_LIBRARY_REVISION:$MAGICK_LIBRARY_AGE
-MAGICK_SVN_REVISION=9592M
+MAGICK_SVN_REVISION=9602:9608M
if test "$libtool_build_shared_libs" = 'no'; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Modules may only be built if building shared libraries is enabled." >&5
$as_echo "$as_me: WARNING: Modules may only be built if building shared libraries is enabled." >&2;}
- with_modules='no'
- fi
+ build_modules='no'
+ else
+ build_modules='yes'
+ fi
fi
-if test "$with_modules" != 'no'; then
+if test "$build_modules" != 'no' ; then
$as_echo "#define BUILD_MODULES 1" >>confdefs.h
fi
- if test "$with_modules" != 'no'; then
+ if test "$build_modules" != 'no'; then
WITH_MODULES_TRUE=
WITH_MODULES_FALSE='#'
else
fi
-# Enable building/use of libltdl if we are building shared libraries regardless
-# of whether modules are built or not.
+# Only use/depend on libtdl if we are building modules.
with_ltdl='no'
-if test "$libtool_build_shared_libs" != 'no'; then
+if test "$build_modules" != 'no' ; then
with_ltdl='yes'
fi
$as_echo "#define LTDL_DELEGATE 1" >>confdefs.h
-
- # Set DLLDFLAGS
- if test X"$enable_shared" = Xyes; then
- DLLDFLAGS=-export-dynamic
-
- fi
fi
# Enable build using delegate libraries built in subdirectories rather than installed
MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
- if test "$with_modules" = 'yes'; then
+ if test "$build_modules" = 'yes'; then
LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
else
MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
$as_echo "#define AUTOTRACE_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$AUTOTRACE_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define FONTCONFIG_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$FONTCONFIG_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define GVC_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$GVC_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define LZMA_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$LZMA_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define OPENEXR_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CFLAGS="$OPENEXR_CFLAGS $CFLAGS"
fi
fi
$as_echo "#define PANGO_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$PANGO_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define PANGOCAIRO_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$PANGOCAIRO_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define RSVG_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$RSVG_CFLAGS $CPPFLAGS"
fi
fi
$as_echo "#define CAIRO_DELEGATE 1" >>confdefs.h
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$CAIRO_SVG_CFLAGS $CPPFLAGS"
fi
fi
MAGICK_LIBLTDL='' # Libltdl for build
MAGICK_API_LIBLTDL='' # libltdl for dependent application (API) build
MAGICK_LTDLDEPS='' # extra libltdl dependencies
-if test "$with_ltdl" != 'no'
-then
- if test \( "$with_included_ltdl" = 'no' -o "$enable_ltdl_convenience" = 'no' \) -o "$enable_ltdl_install" = 'yes'; then
- MAGICK_API_LIBLTDL='-lltdl'
- fi
+if test "$with_ltdl" != 'no' ; then
+ MAGICK_API_LIBLTDL='-lltdl'
MAGICK_LIBLTDL=${LIBLTDL}
MAGICK_LTDLDEPS=${LTDLDEPS}
fi
-if test "$with_modules" != 'no'; then
+if test "$build_modules" != 'no'; then
MAGICK_DEP_LIBS="$LCMS_LIBS $FREETYPE_LIBS $LQR_LIBS $FFTW_LIBS $FONTCONFIG_LIBS $XEXT_LIBS $IPC_LIBS $X11_LIBS $XT_LIBS $LZMA_LIBS $BZLIB_LIBS $ZLIB_LIBS $GDI32_LIBS $MATH_LIBS $GOMP_LIBS $CL_LIBS $UMEM_LIBS $THREAD_LIBS"
else
MAGICK_DEP_LIBS="$JBIG_LIBS $LCMS_LIBS $TIFF_LIBS $FREETYPE_LIBS $JP2_LIBS $JPEG_LIBS $GS_LIBS $LQR_LIBS $PNG_LIBS $AUTOTRACE_LIBS $DJVU_LIBS $FFTW_LIBS $FPX_LIBS $FONTCONFIG_LIBS $WEBP_LIBS $WMF_LIBS $DPS_LIBS $XEXT_LIBS $XT_LIBS $IPC_LIBS $X11_LIBS $LZMA_LIBS $BZLIB_LIBS $OPENEXR_LIBS $PANGO_LIBS $RSVG_LIBS $XML_LIBS $GVC_LIBS $ZLIB_LIBS $GDI32_LIBS $MATH_LIBS $GOMP_LIBS $CL_LIBS $UMEM_LIBS $THREAD_LIBS"
MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/ */ /g'`
MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/ */ /g'`
MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
-MAGICK_LIBS="-lMagickCore $MAGICK_DEP_LIBS $MAGICK_API_LIBLTDL"
+MAGICK_LIBS="-lMagickCore $MAGICK_DEP_LIBS"
-------------------------------------------------------------------------------
Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
Static libraries --enable-static=$enable_static $libtool_build_static_libs
-Module support --with-modules=$with_modules $with_modules
+Module support --with-modules=$build_modules $build_modules
GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
High Dynamic Range Imagery
-------------------------------------------------------------------------------
Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
Static libraries --enable-static=$enable_static $libtool_build_static_libs
-Module support --with-modules=$with_modules $with_modules
+Module support --with-modules=$build_modules $build_modules
GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
High Dynamic Range Imagery
if test "$with_modules" != 'no' ; then
if test "$libtool_build_shared_libs" = 'no'; then
AC_MSG_WARN([Modules may only be built if building shared libraries is enabled.])
- with_modules='no'
- fi
+ build_modules='no'
+ else
+ build_modules='yes'
+ fi
fi
-if test "$with_modules" != 'no'; then
+if test "$build_modules" != 'no' ; then
AC_DEFINE(BUILD_MODULES,1,Define if coders and filters are to be built as modules.)
fi
-AM_CONDITIONAL(WITH_MODULES, test "$with_modules" != 'no')
+AM_CONDITIONAL(WITH_MODULES, test "$build_modules" != 'no')
-# Enable building/use of libltdl if we are building shared libraries regardless
-# of whether modules are built or not.
+# Only use/depend on libtdl if we are building modules.
with_ltdl='no'
-if test "$libtool_build_shared_libs" != 'no'; then
+if test "$build_modules" != 'no' ; then
with_ltdl='yes'
fi
AM_CONDITIONAL(WITH_LTDL, test "$with_ltdl" != 'no')
if test "$with_ltdl" != 'no'; then
AC_DEFINE(LTDL_DELEGATE,1,Define if using libltdl to support dynamically loadable modules)
-
- # Set DLLDFLAGS
- if test X"$enable_shared" = Xyes; then
- DLLDFLAGS=-export-dynamic
- AC_SUBST(DLLDFLAGS)
- fi
fi
# Enable build using delegate libraries built in subdirectories rather than installed
MAGICK_CPPFLAGS="$MAGICK_CPPFLAGS -D_DLL"
MAGICK_PCFLAGS="$MAGICK_PCFLAGS -D_DLL"
LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKLIB_"
- if test "$with_modules" = 'yes'; then
+ if test "$build_modules" = 'yes'; then
LIBRARY_EXTRA_CPPFLAGS="$LIBRARY_EXTRA_CPPFLAGS -D_MAGICKMOD_"
else
MODULE_EXTRA_CPPFLAGS="$MODULE_EXTRA_CPPFLAGS -D_MAGICKLIB_"
if test "$have_autotrace" = 'yes'; then
failed=0
AC_DEFINE(AUTOTRACE_DELEGATE,1,Define if you have AUTOTRACE library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$AUTOTRACE_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_fontconfig" = 'yes'; then
AC_DEFINE(FONTCONFIG_DELEGATE,1,Define if you have FONTCONFIG library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$FONTCONFIG_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_gvc" = 'yes'; then
AC_DEFINE(GVC_DELEGATE,1,Define if you have GVC library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$GVC_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_lzma" = 'yes'; then
AC_DEFINE(LZMA_DELEGATE,1,Define if you have LZMA library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$LZMA_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_openexr" = 'yes'; then
AC_DEFINE(OPENEXR_DELEGATE,1,Define if you have OPENEXR library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CFLAGS="$OPENEXR_CFLAGS $CFLAGS"
fi
fi
if test "$have_pango" = 'yes'; then
AC_DEFINE(PANGO_DELEGATE,1,Define if you have PANGO library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$PANGO_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_pangocairo" = 'yes'; then
AC_DEFINE(PANGOCAIRO_DELEGATE,1,Define if you have PANGOCAIRO library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$PANGOCAIRO_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_rsvg" = 'yes'; then
AC_DEFINE(RSVG_DELEGATE,1,Define if you have RSVG library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$RSVG_CFLAGS $CPPFLAGS"
fi
fi
if test "$have_cairo" = 'yes'; then
AC_DEFINE(CAIRO_DELEGATE,1,Define if you have CAIRO library)
- if test "$with_modules" = 'no'; then
+ if test "$build_modules" = 'no'; then
CPPFLAGS="$CAIRO_SVG_CFLAGS $CPPFLAGS"
fi
fi
MAGICK_LIBLTDL='' # Libltdl for build
MAGICK_API_LIBLTDL='' # libltdl for dependent application (API) build
MAGICK_LTDLDEPS='' # extra libltdl dependencies
-if test "$with_ltdl" != 'no'
-then
- if test \( "$with_included_ltdl" = 'no' -o "$enable_ltdl_convenience" = 'no' \) -o "$enable_ltdl_install" = 'yes'; then
- MAGICK_API_LIBLTDL='-lltdl'
- fi
+if test "$with_ltdl" != 'no' ; then
+ MAGICK_API_LIBLTDL='-lltdl'
MAGICK_LIBLTDL=${LIBLTDL}
MAGICK_LTDLDEPS=${LTDLDEPS}
fi
AC_SUBST(MAGICK_LIBLTDL)
AC_SUBST(MAGICK_LTDLDEPS)
-if test "$with_modules" != 'no'; then
+if test "$build_modules" != 'no'; then
MAGICK_DEP_LIBS="$LCMS_LIBS $FREETYPE_LIBS $LQR_LIBS $FFTW_LIBS $FONTCONFIG_LIBS $XEXT_LIBS $IPC_LIBS $X11_LIBS $XT_LIBS $LZMA_LIBS $BZLIB_LIBS $ZLIB_LIBS $GDI32_LIBS $MATH_LIBS $GOMP_LIBS $CL_LIBS $UMEM_LIBS $THREAD_LIBS"
else
MAGICK_DEP_LIBS="$JBIG_LIBS $LCMS_LIBS $TIFF_LIBS $FREETYPE_LIBS $JP2_LIBS $JPEG_LIBS $GS_LIBS $LQR_LIBS $PNG_LIBS $AUTOTRACE_LIBS $DJVU_LIBS $FFTW_LIBS $FPX_LIBS $FONTCONFIG_LIBS $WEBP_LIBS $WMF_LIBS $DPS_LIBS $XEXT_LIBS $XT_LIBS $IPC_LIBS $X11_LIBS $LZMA_LIBS $BZLIB_LIBS $OPENEXR_LIBS $PANGO_LIBS $RSVG_LIBS $XML_LIBS $GVC_LIBS $ZLIB_LIBS $GDI32_LIBS $MATH_LIBS $GOMP_LIBS $CL_LIBS $UMEM_LIBS $THREAD_LIBS"
MAGICK_CPPFLAGS=`echo $MAGICK_CPPFLAGS | sed -e 's/ */ /g'`
MAGICK_PCFLAGS=`echo $MAGICK_PCFLAGS | sed -e 's/ */ /g'`
MAGICK_LDFLAGS="-L$LIB_DIR $LDFLAGS"
-MAGICK_LIBS="-lMagickCore $MAGICK_DEP_LIBS $MAGICK_API_LIBLTDL"
+MAGICK_LIBS="-lMagickCore $MAGICK_DEP_LIBS"
AC_SUBST(MAGICK_CFLAGS)
AC_SUBST(MAGICK_CXXFLAGS)
-------------------------------------------------------------------------------
Shared libraries --enable-shared=$enable_shared $libtool_build_shared_libs
Static libraries --enable-static=$enable_static $libtool_build_static_libs
-Module support --with-modules=$with_modules $with_modules
+Module support --with-modules=$build_modules $build_modules
GNU ld --with-gnu-ld=$with_gnu_ld $lt_cv_prog_gnu_ld
Quantum depth --with-quantum-depth=$with_quantum_depth $with_quantum_depth
High Dynamic Range Imagery