From d678fb3d374f319d212b5eca2fb35cb757267894 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Fri, 6 Mar 2009 15:30:42 +0000 Subject: [PATCH] Explain the config header voodoo. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3638 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/jpeg/configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/jpeg/configure.ac b/common/jpeg/configure.ac index bc8a4621..79bdb456 100644 --- a/common/jpeg/configure.ac +++ b/common/jpeg/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]) -- 2.39.5