/* Define to 1 if you have the `MagickExportImagePixels' function. */
#undef HAVE_MAGICKEXPORTIMAGEPIXELS
+/* Define to 1 if you have the `MagickMergeImageLayers' function. */
+#undef HAVE_MAGICKMERGEIMAGELAYERS
+
/* Define to 1 if you have the <maillock.h> header file. */
#undef HAVE_MAILLOCK_H
/* Define to use system malloc. */
#undef SYSTEM_MALLOC
+/* The type of system you are compiling for; sets `system-type'. */
+#undef SYSTEM_TYPE
+
/* Define to 1 if you use terminfo instead of termcap. */
#undef TERMINFO
LIB_MATH=-lm
LIB_STANDARD=
START_FILES=
+SYSTEM_TYPE=`echo $opsys | sed -e 's/0-9.*//' -e 's|-|/|'`
case $opsys in
cygwin )
freebsd )
LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o $(CRT_DIR)/crtn.o'
START_FILES='pre-crt0.o $(CRT_DIR)/crt1.o $(CRT_DIR)/crti.o $(CRT_DIR)/crtbegin.o'
+ SYSTEM_TYPE=berkeley-unix
;;
gnu-linux | gnu-kfreebsd )
LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtn.o'
netbsd | openbsd )
LIB_STANDARD='-lgcc -lc -lgcc $(CRT_DIR)/crtend.o'
START_FILES='pre-crt0.o $(CRT_DIR)/crt0.o $(CRT_DIR)/crtbegin.o'
+ SYSTEM_TYPE=berkeley-unix
;;
+
+ sol2* | unixware )
+ SYSTEM_TYPE=usg-unix-v
+ ;;
+
esac
+cat >>confdefs.h <<_ACEOF
+#define SYSTEM_TYPE "$SYSTEM_TYPE"
+_ACEOF
+
+
crt_files=
for file in x $LIB_STANDARD $START_FILES; do
#define HAVE_MAGICKEXPORTIMAGEPIXELS 1
_ACEOF
+fi
+done
+
+ for ac_func in MagickMergeImageLayers
+do :
+ ac_fn_c_check_func "$LINENO" "MagickMergeImageLayers" "ac_cv_func_MagickMergeImageLayers"
+if test "x$ac_cv_func_MagickMergeImageLayers" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_MAGICKMERGEIMAGELAYERS 1
+_ACEOF
+
fi
done