diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 18 |
2 files changed, 10 insertions, 10 deletions
@@ -10551,7 +10551,7 @@ case $host_os in bsdi*|netbsd*) ac_cv_func_fseeko=yes esac -# Solaris has a very slow qsort in certain cases. +# Solaris has a very slow qsort in certain cases, so we replace it. case $host_os in solaris*) LIBOBJS="$LIBOBJS qsort.$ac_objext" ;; esac diff --git a/configure.in b/configure.in index 9dcea0ac46..4be2699f1c 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.221 2002/12/06 04:37:02 momjian Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.222 2002/12/15 03:16:58 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -844,8 +844,8 @@ case $host_os in bsdi*|netbsd*) ac_cv_func_fseeko=yes esac -# Solaris has a very slow qsort in certain cases. -case $host_os in +# Solaris has a very slow qsort in certain cases, so we replace it. +case $host_os in solaris*) AC_LIBOBJ(qsort) ;; esac @@ -853,7 +853,7 @@ esac # this hackery with HPUXMATHLIB allows us to cope. HPUXMATHLIB="" case $host_cpu in - hppa1.1) + hppa1.1) if test -r /lib/pa1.1/libm.a ; then HPUXMATHLIB="-L /lib/pa1.1 -lm" fi ;; @@ -888,7 +888,7 @@ AC_TRY_LINK([#include <setjmp.h>], AC_MSG_RESULT(yes)], [AC_MSG_RESULT(no)]) -AC_CHECK_FUNC(syslog, +AC_CHECK_FUNC(syslog, [AC_CHECK_HEADER(syslog.h, [AC_DEFINE(HAVE_SYSLOG, 1, [])], [])]) @@ -998,16 +998,16 @@ main() { INT64_FORMAT='"%lld"' ], [ AC_MSG_RESULT(no) - AC_MSG_CHECKING(whether snprintf handles 'long long int' as %qd) + AC_MSG_CHECKING(whether snprintf handles 'long long int' as %qd) AC_TRY_RUN([#include <stdio.h> typedef long long int int64; #define INT64_FORMAT "%qd" - + int64 a = 20000001; int64 b = 40000005; - + int does_int64_snprintf_work() -{ +{ int64 c; char buf[100]; |