mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Fix LONG LONG header comment
This commit is contained in:
parent
365a3bac3f
commit
0bf7746a75
48
configure
vendored
48
configure
vendored
@ -1,6 +1,6 @@
|
||||
#! /bin/sh
|
||||
# $OpenLDAP$
|
||||
# from OpenLDAP: pkg/ldap/configure.in,v 1.482 2003/08/13 21:45:00 jongchoi Exp
|
||||
# from OpenLDAP: pkg/ldap/configure.in,v 1.484 2003/09/21 04:04:14 lukeh Exp
|
||||
|
||||
# Copyright 1998-2003 The OpenLDAP Foundation. All Rights Reserved.
|
||||
#
|
||||
@ -20524,10 +20524,10 @@ else
|
||||
|
||||
/* require 2.1.3 or later */
|
||||
#if SASL_VERSION_MAJOR == 2 && SASL_VERSION_MINOR > 1
|
||||
__sasl_compat "2.2+ or better okay (we guess)";
|
||||
char *__sasl_compat = "2.2+ or better okay (we guess)";
|
||||
#elif SASL_VERSION_MAJOR == 2 && SASL_VERSION_MINOR == 1 \
|
||||
&& SASL_VERSION_STEP >=3
|
||||
__sasl_compat = "2.1.3+ or better okay";
|
||||
char *__sasl_compat = "2.1.3+ or better okay";
|
||||
#endif
|
||||
|
||||
EOF
|
||||
@ -22716,12 +22716,12 @@ for ac_func in \
|
||||
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:22717: checking for $ac_func" >&5
|
||||
echo "configure:22720: checking for $ac_func" >&5
|
||||
if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22722 "configure"
|
||||
#line 22725 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
@ -22745,7 +22745,7 @@ f = $ac_func;
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:22746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:22749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
@ -22773,12 +22773,12 @@ done
|
||||
for ac_func in getopt getpeereid
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:22774: checking for $ac_func" >&5
|
||||
echo "configure:22777: checking for $ac_func" >&5
|
||||
if eval "test \"\${ac_cv_func_$ac_func+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22779 "configure"
|
||||
#line 22782 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
@ -22802,7 +22802,7 @@ f = $ac_func;
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:22803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:22806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_$ac_func=yes"
|
||||
else
|
||||
@ -22834,19 +22834,19 @@ if test "$ac_cv_func_getopt" != yes; then
|
||||
fi
|
||||
if test "$ac_cv_func_getpeereid" != yes; then
|
||||
echo $ac_n "checking for msg_accrights in msghdr""... $ac_c" 1>&6
|
||||
echo "configure:22835: checking for msg_accrights in msghdr" >&5
|
||||
echo "configure:22838: checking for msg_accrights in msghdr" >&5
|
||||
if eval "test \"\${ol_cv_msghdr_msg_accrights+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22840 "configure"
|
||||
#line 22843 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <sys/socket.h>
|
||||
int main() {
|
||||
struct msghdr m; m.msg_accrightslen=0
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:22847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:22850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ol_cv_msghdr_msg_accrights=yes
|
||||
else
|
||||
@ -22886,13 +22886,13 @@ fi
|
||||
|
||||
# Check Configuration
|
||||
echo $ac_n "checking declaration of sys_errlist""... $ac_c" 1>&6
|
||||
echo "configure:22887: checking declaration of sys_errlist" >&5
|
||||
echo "configure:22890: checking declaration of sys_errlist" >&5
|
||||
if eval "test \"\${ol_cv_dcl_sys_errlist+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22893 "configure"
|
||||
#line 22896 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@ -22905,7 +22905,7 @@ int main() {
|
||||
char *c = (char *) *sys_errlist
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:22906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:22909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
ol_cv_dcl_sys_errlist=yes
|
||||
ol_cv_have_sys_errlist=yes
|
||||
@ -22928,20 +22928,20 @@ EOF
|
||||
|
||||
|
||||
echo $ac_n "checking existence of sys_errlist""... $ac_c" 1>&6
|
||||
echo "configure:22929: checking existence of sys_errlist" >&5
|
||||
echo "configure:22932: checking existence of sys_errlist" >&5
|
||||
if eval "test \"\${ol_cv_have_sys_errlist+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22935 "configure"
|
||||
#line 22938 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <errno.h>
|
||||
int main() {
|
||||
char *c = (char *) *sys_errlist
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:22942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:22945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
ol_cv_have_sys_errlist=yes
|
||||
else
|
||||
@ -22969,17 +22969,17 @@ if test "$ol_enable_slapi" != no ; then
|
||||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:22970: checking for $ac_hdr" >&5
|
||||
echo "configure:22973: checking for $ac_hdr" >&5
|
||||
if eval "test \"\${ac_cv_header_$ac_safe+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 22975 "configure"
|
||||
#line 22978 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:22980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:22983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
||||
if test -z "$ac_err"; then
|
||||
rm -rf conftest*
|
||||
@ -23010,7 +23010,7 @@ done
|
||||
{ echo "configure: error: could not locate <ltdl.h>" 1>&2; exit 1; }
|
||||
fi
|
||||
echo $ac_n "checking for lt_dlinit in -lltdl""... $ac_c" 1>&6
|
||||
echo "configure:23011: checking for lt_dlinit in -lltdl" >&5
|
||||
echo "configure:23014: checking for lt_dlinit in -lltdl" >&5
|
||||
ac_lib_var=`echo ltdl'_'lt_dlinit | sed 'y%./+-:%__p__%'`
|
||||
if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
@ -23018,7 +23018,7 @@ else
|
||||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lltdl $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 23019 "configure"
|
||||
#line 23022 "configure"
|
||||
#include "confdefs.h"
|
||||
/* Override any gcc2 internal prototype to avoid an error. */
|
||||
/* We use char because int might match the return type of a gcc2
|
||||
@ -23029,7 +23029,7 @@ int main() {
|
||||
lt_dlinit()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:23030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:23033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_lib_$ac_lib_var=yes"
|
||||
else
|
||||
|
@ -2348,7 +2348,7 @@ AC_CACHE_CHECK([long long], ol_cv_type_long_long, [
|
||||
[ol_cv_type_long_long=yes],
|
||||
[ol_cv_type_long_long=no])])
|
||||
if test $ol_cv_type_long_long = yes; then
|
||||
AC_DEFINE(HAVE_LONG_LONG, 1, [define if you have `long long'])
|
||||
AC_DEFINE(HAVE_LONG_LONG, 1, [define if you have 'long long'])
|
||||
fi
|
||||
|
||||
AC_TYPE_MODE_T
|
||||
|
Loading…
Reference in New Issue
Block a user