summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2006-10-30 22:15:04 +0000
committerPeter Eisentraut <peter_e@gmx.net>2006-10-30 22:15:04 +0000
commit0b9f93e6b04d941d3428d6e709ab8c4b03554f2f (patch)
tree6cb5d492890e07afc50f99f97a4fa12dba2f0fd4 /configure.in
parente45edb35e1fb2b05c251c232477a55bd2428a3c2 (diff)
downloadpostgresql-0b9f93e6b04d941d3428d6e709ab8c4b03554f2f.tar.gz
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.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in11
1 files changed, 3 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 3a01e9447b..471e9b9ba6 100644
--- a/configure.in
+++ b/configure.in
@@ -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