From f0f1b628e3c26735162be3475e2417276cd5a03a Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 18 Oct 1998 19:16:09 +0000 Subject: [PATCH] Use AC_CONFIG_HEADER as documented by Autoconf manual: call it only once at the top of the file. I'm surprised include/config.h wasn't being overwritten from interfaces/odbc/config.h.in ... --- src/configure.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/configure.in b/src/configure.in index ebb140e3f8..43fc773fd8 100644 --- a/src/configure.in +++ b/src/configure.in @@ -1,6 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(backend/access/common/heaptuple.c) AC_PREFIX_DEFAULT(/usr/local/pgsql) +AC_CONFIG_HEADER(include/config.h) AC_CANONICAL_HOST @@ -342,8 +343,6 @@ LDFLAGS="$LDFLAGS $PGSQL_LDFLAGS" export LDFLAGS echo "- setting LDFLAGS=$LDFLAGS" -AC_CONFIG_HEADER(include/config.h) - dnl Checks for programs. AC_PROG_CPP @@ -896,8 +895,6 @@ then fi AC_SUBST(USE_ODBC) fi - -AC_CONFIG_HEADER(interfaces/odbc/config.h) AC_OUTPUT( GNUmakefile