From: DRC Date: Tue, 15 Apr 2014 03:41:31 +0000 (+0000) Subject: wordsmithing X-Git-Tag: 1.3.90~100 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=990342cd57bd43fbe488bfc9e3e0dd590d365a27;p=libjpeg-turbo wordsmithing git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1234 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/configure.ac b/configure.ac index ff5cf66..9bfbf42 100644 --- a/configure.ac +++ b/configure.ac @@ -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])