added AH_TOP and AH_BOTTOM for autoreconf
[swftools.git] / configure.in
index 8108961..fcff549 100644 (file)
@@ -449,6 +449,33 @@ fi
 
 # ------------------------------------------------------------------
 
+AH_TOP([
+#ifndef __config_h__
+#define __config_h__
+])
+
+AH_BOTTOM([
+#ifdef HAVE_ZLIB_H
+#ifdef HAVE_LIBZ
+#define HAVE_ZLIB
+#endif
+#endif
+
+#ifdef HAVE_JPEGLIB_H
+#ifdef HAVE_LIBJPEG
+#define HAVE_JPEGLIB
+#endif
+#endif
+
+#ifdef HAVE_FT2BUILD_H
+#define HAVE_FREETYPE_H 1
+#endif
+
+#endif // __config_h__
+])
+
+
+
 if test -f "release.in"; then release_in="./release"; fi
 if test -f "wx/Makefile.in"; then wx_in="wx/Makefile"; fi
 FILES="$release_in $wx_in Makefile.common ${avi2swf} Makefile lib/Makefile lib/action/Makefile src/Makefile ${pdf2swf_makefile} swfs/Makefile pdf2swf/fonts/Makefile ${pythonrfxswf} ${lame_makefile} lib/art/Makefile lib/readers/Makefile"