From: Pierre Ossman Date: Fri, 6 Mar 2009 15:30:42 +0000 (+0000) Subject: Explain the config header voodoo. X-Git-Tag: 0.0.90~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba0ce39b7012b0c3bc3ad31310e35fd3da59fcb5;p=libjpeg-turbo Explain the config header voodoo. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@10 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/configure.ac b/configure.ac index bc8a462..79bdb45 100644 --- a/configure.ac +++ b/configure.ac @@ -72,7 +72,10 @@ AC_CHECK_FUNCS([memset memcpy], [], [AC_DEFINE([NEED_BSD_STRINGS], 1, [Define if you have BSD-like bzero and bcopy])]) -# config.h should not be included +# jconfig.h is the file we use, but we have another before that to +# fool autoheader. the reason is that we include this header in our +# API headers, which can screw things up for users of the lib. +# jconfig.h is a minimal version that allows this package to be built AC_CONFIG_HEADERS([config.h]) AC_CONFIG_HEADERS([jconfig.h]) AC_CONFIG_FILES([Makefile])