]> granicus.if.org Git - libjpeg-turbo/commitdiff
Explain the config header voodoo.
authorPierre Ossman <ossman@cendio.se>
Fri, 6 Mar 2009 15:30:42 +0000 (15:30 +0000)
committerPierre Ossman <ossman@cendio.se>
Fri, 6 Mar 2009 15:30:42 +0000 (15:30 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@10 632fc199-4ca6-4c93-a231-07263d6284db

configure.ac

index bc8a4621f3843365327296d37c243dbdbb2abbbb..79bdb45644ddfa95d9a68922a108ad85c60afe85 100644 (file)
@@ -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])