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 ...
This commit is contained in:
Tom Lane 1998-10-18 19:16:09 +00:00
parent a00dcabc6e
commit f0f1b628e3
1 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,7 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT(backend/access/common/heaptuple.c) AC_INIT(backend/access/common/heaptuple.c)
AC_PREFIX_DEFAULT(/usr/local/pgsql) AC_PREFIX_DEFAULT(/usr/local/pgsql)
AC_CONFIG_HEADER(include/config.h)
AC_CANONICAL_HOST AC_CANONICAL_HOST
@ -342,8 +343,6 @@ LDFLAGS="$LDFLAGS $PGSQL_LDFLAGS"
export LDFLAGS export LDFLAGS
echo "- setting LDFLAGS=$LDFLAGS" echo "- setting LDFLAGS=$LDFLAGS"
AC_CONFIG_HEADER(include/config.h)
dnl Checks for programs. dnl Checks for programs.
AC_PROG_CPP AC_PROG_CPP
@ -896,8 +895,6 @@ then
fi fi
AC_SUBST(USE_ODBC) AC_SUBST(USE_ODBC)
fi fi
AC_CONFIG_HEADER(interfaces/odbc/config.h)
AC_OUTPUT( AC_OUTPUT(
GNUmakefile GNUmakefile