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
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
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
# 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 ;;
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, [])],
[])])
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];