mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 00:11:53 +02:00
Improve comment.
This commit is contained in:
parent
c465dcc1d0
commit
90b3a0b6fd
2
configure
vendored
2
configure
vendored
@ -10551,7 +10551,7 @@ case $host_os in bsdi*|netbsd*)
|
|||||||
ac_cv_func_fseeko=yes
|
ac_cv_func_fseeko=yes
|
||||||
esac
|
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
|
case $host_os in
|
||||||
solaris*) LIBOBJS="$LIBOBJS qsort.$ac_objext" ;;
|
solaris*) LIBOBJS="$LIBOBJS qsort.$ac_objext" ;;
|
||||||
esac
|
esac
|
||||||
|
18
configure.in
18
configure.in
@ -1,5 +1,5 @@
|
|||||||
dnl Process this file with autoconf to produce a configure script.
|
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
|
||||||
dnl Developers, please strive to achieve this order:
|
dnl Developers, please strive to achieve this order:
|
||||||
dnl
|
dnl
|
||||||
@ -844,8 +844,8 @@ case $host_os in bsdi*|netbsd*)
|
|||||||
ac_cv_func_fseeko=yes
|
ac_cv_func_fseeko=yes
|
||||||
esac
|
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
|
case $host_os in
|
||||||
solaris*) AC_LIBOBJ(qsort) ;;
|
solaris*) AC_LIBOBJ(qsort) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@ -853,7 +853,7 @@ esac
|
|||||||
# this hackery with HPUXMATHLIB allows us to cope.
|
# this hackery with HPUXMATHLIB allows us to cope.
|
||||||
HPUXMATHLIB=""
|
HPUXMATHLIB=""
|
||||||
case $host_cpu in
|
case $host_cpu in
|
||||||
hppa1.1)
|
hppa1.1)
|
||||||
if test -r /lib/pa1.1/libm.a ; then
|
if test -r /lib/pa1.1/libm.a ; then
|
||||||
HPUXMATHLIB="-L /lib/pa1.1 -lm"
|
HPUXMATHLIB="-L /lib/pa1.1 -lm"
|
||||||
fi ;;
|
fi ;;
|
||||||
@ -888,7 +888,7 @@ AC_TRY_LINK([#include <setjmp.h>],
|
|||||||
AC_MSG_RESULT(yes)],
|
AC_MSG_RESULT(yes)],
|
||||||
[AC_MSG_RESULT(no)])
|
[AC_MSG_RESULT(no)])
|
||||||
|
|
||||||
AC_CHECK_FUNC(syslog,
|
AC_CHECK_FUNC(syslog,
|
||||||
[AC_CHECK_HEADER(syslog.h,
|
[AC_CHECK_HEADER(syslog.h,
|
||||||
[AC_DEFINE(HAVE_SYSLOG, 1, [])],
|
[AC_DEFINE(HAVE_SYSLOG, 1, [])],
|
||||||
[])])
|
[])])
|
||||||
@ -998,16 +998,16 @@ main() {
|
|||||||
INT64_FORMAT='"%lld"'
|
INT64_FORMAT='"%lld"'
|
||||||
],
|
],
|
||||||
[ AC_MSG_RESULT(no)
|
[ 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>
|
AC_TRY_RUN([#include <stdio.h>
|
||||||
typedef long long int int64;
|
typedef long long int int64;
|
||||||
#define INT64_FORMAT "%qd"
|
#define INT64_FORMAT "%qd"
|
||||||
|
|
||||||
int64 a = 20000001;
|
int64 a = 20000001;
|
||||||
int64 b = 40000005;
|
int64 b = 40000005;
|
||||||
|
|
||||||
int does_int64_snprintf_work()
|
int does_int64_snprintf_work()
|
||||||
{
|
{
|
||||||
int64 c;
|
int64 c;
|
||||||
char buf[100];
|
char buf[100];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user