From: kramm Date: Tue, 10 Jun 2008 05:46:31 +0000 (+0000) Subject: added AH_TOP and AH_BOTTOM for autoreconf X-Git-Tag: buttons-working~139 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=919883167e14fe359febf63ce0bba74fed5c0aac added AH_TOP and AH_BOTTOM for autoreconf --- diff --git a/configure.in b/configure.in index 8108961..fcff549 100644 --- a/configure.in +++ b/configure.in @@ -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"