diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2000-02-20 14:28:28 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2000-02-20 14:28:28 +0000 |
| commit | 718bb2cc9c8483bed143d071aa000f9027c74a41 (patch) | |
| tree | 119cdaab557c73785ad13f6dd6a37920dc687175 /src/configure.in | |
| parent | 5253c518aef4c906dc6c922c51c2d77b0a78bf75 (diff) | |
| download | postgresql-718bb2cc9c8483bed143d071aa000f9027c74a41.tar.gz | |
Moved psql \eset and \eshow to \encoding
Improved psql's Ctrl-C handling
Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
Diffstat (limited to 'src/configure.in')
| -rw-r--r-- | src/configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in index 1a5f0c4d2f..5a5e3cf6da 100644 --- a/src/configure.in +++ b/src/configure.in @@ -737,7 +737,7 @@ dnl Checks for library functions. AC_FUNC_MEMCMP AC_TYPE_SIGNAL AC_FUNC_VPRINTF -AC_CHECK_FUNCS(memmove sigsetjmp sysconf) +AC_CHECK_FUNCS(memmove sysconf) AC_CHECK_FUNCS(sigprocmask waitpid setsid fcvt) AC_CHECK_FUNCS(fpclass fp_class fp_class_d class) dnl We use our snprintf.c emulation if either snprintf() or vsnprintf() @@ -856,6 +856,15 @@ AC_TRY_LINK([#include <math.h>], [AC_DEFINE(HAVE_FINITE) AC_MSG_RESULT(yes)], AC_MSG_RESULT(no)) +dnl Cannot use AC_CHECK_FUNC because sigsetjmp may be a macro +dnl (especially on GNU libc) +dnl See also comments in config.h. +AC_MSG_CHECKING(for sigsetjmp) +AC_TRY_LINK([#include <setjmp.h>], + [sigjmp_buf x; sigsetjmp(x, 1);], + [AC_DEFINE(HAVE_SIGSETJMP) AC_MSG_RESULT(yes)], + AC_MSG_RESULT(no)) + dnl Check to see if we have a working 64-bit integer type. dnl This breaks down into two steps: dnl (1) figure out if the compiler has a 64-bit int type with working |
