1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Code the unknown options check without using m4 diversions. Otherwise this

code relies on the checking macro actually being called at the end, or the
automatic undiversion will produce garbage.  These sort of implicit
side-effects undermine the modularity of the macros and happen to break the
ODBC driver which makes use of them.

Also put the warnings at the very end of configure, so there is an even
better chance of seeing them.
This commit is contained in:
Peter Eisentraut
2006-10-30 22:15:04 +00:00
parent e45edb35e1
commit 0b9f93e6b0
3 changed files with 61 additions and 111 deletions

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.484 2006/10/23 22:50:19 tgl Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.485 2006/10/30 22:15:04 petere Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@ -1449,12 +1449,7 @@ echo >src/include/stamp-h
AC_CONFIG_HEADERS([src/interfaces/ecpg/include/ecpg_config.h])
#
# Warn about unknown options
#
PGAC_CHECK_ARGS
AC_OUTPUT
# Warn about unknown options
PGAC_ARG_CHECK