X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=configure.in;h=79ee3334d6b05c5484152a0078da07c07043b10f;hb=85f6f8c3250642f2b5e3e241fac1a573778989a9;hp=8108961bf76228112495910cc5b3549030a6d122;hpb=ea05d6482829c92dc5c37002e0b532ac94fb12d4;p=swftools.git diff --git a/configure.in b/configure.in index 8108961..79ee333 100644 --- a/configure.in +++ b/configure.in @@ -449,9 +449,35 @@ 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" +FILES="$release_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" AC_OUTPUT(${FILES}) dnl new autoconf