Fixed handling of old --with-mb option using newly gained wisdom from

autoconf mailing list. ;)
This commit is contained in:
Peter Eisentraut 2000-02-18 00:21:38 +00:00
parent b3b35e98b6
commit 49353692d1
2 changed files with 423 additions and 430 deletions

839
src/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -262,12 +262,11 @@ Or do not specify an argument to the option to use the default.])
AC_MSG_RESULT("disabled") AC_MSG_RESULT("disabled")
) )
AC_ARG_WITH(mb, dnl Old option variant
[ --with-mb=<encoding> this option is obsoleted ], if test "${with_mb}"; then
[ AC_MSG_ERROR([--with-mb is not supported anymore. Use --enable-multibyte instead.])
AC_MSG_ERROR([*** --with-mb is not supported anymore. Use --enable-multibyte instead.]) fi
]
)
dnl We use the default value of 5432 for the DEF_PGPORT value. If dnl We use the default value of 5432 for the DEF_PGPORT value. If
dnl we over-ride it with --with-pgport=port then we bypass this piece dnl we over-ride it with --with-pgport=port then we bypass this piece
@ -850,7 +849,8 @@ AC_SUBST(HAVE_RL_COMPLETION_APPEND_CHARACTER)
dnl Check for GNU style long options support (getopt_long) dnl Check for GNU style long options support (getopt_long)
AC_CHECK_FUNCS(getopt_long) AC_CHECK_FUNCS(getopt_long)
AC_MSG_CHECKING(for finite() macro or function) dnl Cannot use AC_CHECK_FUNC because finite may be a macro
AC_MSG_CHECKING(for finite)
AC_TRY_LINK([#include <math.h>], AC_TRY_LINK([#include <math.h>],
[int dummy=finite(1.0);], [int dummy=finite(1.0);],
[AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes)], [AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes)],