Commit f0f1b628 authored by Tom Lane's avatar Tom Lane

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 ...
parent a00dcabc
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" ...@@ -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
...@@ -897,8 +896,6 @@ then ...@@ -897,8 +896,6 @@ then
AC_SUBST(USE_ODBC) AC_SUBST(USE_ODBC)
fi fi
AC_CONFIG_HEADER(interfaces/odbc/config.h)
AC_OUTPUT( AC_OUTPUT(
GNUmakefile GNUmakefile
Makefile.global Makefile.global
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment