]> granicus.if.org Git - libjpeg-turbo/commitdiff
wordsmithing
authorDRC <dcommander@users.sourceforge.net>
Tue, 15 Apr 2014 03:41:31 +0000 (03:41 +0000)
committerDRC <dcommander@users.sourceforge.net>
Tue, 15 Apr 2014 03:41:31 +0000 (03:41 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1234 632fc199-4ca6-4c93-a231-07263d6284db

configure.ac

index ff5cf6688a40e4478ab4ae110beba1a0f8686943..9bfbf428a982f21f18cfa9d7e0e2351106cd220f 100644 (file)
@@ -520,10 +520,11 @@ AC_SUBST(DEBARCH)
 AC_SUBST(BUILD)
 AC_DEFINE_UNQUOTED([BUILD], "$BUILD", [Build number])
 
-# 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
+# NOTE: autoheader automatically modifies the input file of the first
+# invocation of AC_CONFIG_HEADERS, so we put config.h first to prevent
+# jconfig.h.in from being clobbered.  config.h is used only internally, whereas
+# jconfig.h contains macros that are relevant to external programs (macros that
+# specify which features were built into the library.)
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_HEADERS([jconfig.h])
 AC_CONFIG_FILES([pkgscripts/libjpeg-turbo.spec.tmpl:release/libjpeg-turbo.spec.in])