mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Really fix LONG_LONG tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c0383132ed
commit
8e7dba22a0
2 changed files with 89 additions and 77 deletions
156
configure
vendored
156
configure
vendored
|
@ -4199,13 +4199,16 @@ cat > conftest.$ac_ext <<EOF
|
|||
#endif
|
||||
#include <limits.h>
|
||||
#if defined(LONG_LONG_MAX)
|
||||
#if LONG_MAX != LONG_LONG_MAX
|
||||
#if LONG_MAX == LONG_LONG_MAX
|
||||
#error long max equals long long max
|
||||
#endif
|
||||
#else
|
||||
#error long long max not defined
|
||||
#endif
|
||||
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4212: \"$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*
|
||||
|
@ -4232,20 +4235,23 @@ fi
|
|||
# Solaris and *BSD use LLONG_MAX instead
|
||||
#
|
||||
echo $ac_n "checking whether we have LLONG_MAX""... $ac_c" 1>&6
|
||||
echo "configure:4236: checking whether we have LLONG_MAX" >&5
|
||||
echo "configure:4239: checking whether we have LLONG_MAX" >&5
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4239 "configure"
|
||||
#line 4242 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <limits.h>
|
||||
#if defined(LLONG_MAX)
|
||||
#if LONG_MAX != LLONG_MAX
|
||||
#if LONG_MAX = LLONG_MAX
|
||||
#error long max equals long long max
|
||||
#endif
|
||||
#else
|
||||
#error llong max not defined
|
||||
#endif
|
||||
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4255: \"$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*
|
||||
|
@ -4272,17 +4278,17 @@ for ac_hdr in wchar.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:4276: checking for $ac_hdr" >&5
|
||||
echo "configure:4282: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4281 "configure"
|
||||
#line 4287 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4292: \"$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*
|
||||
|
@ -4313,12 +4319,12 @@ done
|
|||
# This function needed by NSString for handling of %@ printf directive.
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking for register_printf_function""... $ac_c" 1>&6
|
||||
echo "configure:4317: checking for register_printf_function" >&5
|
||||
echo "configure:4323: checking for register_printf_function" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_register_printf_function'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4322 "configure"
|
||||
#line 4328 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char register_printf_function(); below. */
|
||||
|
@ -4341,7 +4347,7 @@ register_printf_function();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_register_printf_function=yes"
|
||||
else
|
||||
|
@ -4366,11 +4372,11 @@ if test $register_printf = 1; then
|
|||
working_register_printf=1
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4370 "configure"
|
||||
#line 4376 "configure"
|
||||
#include "confdefs.h"
|
||||
#include "$srcdir/config/config.printf.c"
|
||||
EOF
|
||||
if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:4380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
working_register_printf=1
|
||||
else
|
||||
|
@ -4396,12 +4402,12 @@ fi
|
|||
for ac_func in realpath
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:4400: checking for $ac_func" >&5
|
||||
echo "configure:4406: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4405 "configure"
|
||||
#line 4411 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -4424,7 +4430,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4434: \"$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
|
||||
|
@ -4454,7 +4460,7 @@ done
|
|||
# Used in critical cases by NSProcessInfo.m
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking program_invocation_name in C Library""... $ac_c" 1>&6
|
||||
echo "configure:4458: checking program_invocation_name in C Library" >&5
|
||||
echo "configure:4464: checking program_invocation_name in C Library" >&5
|
||||
if eval "test \"`echo '$''{'program_invocation_name_worked'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -4462,7 +4468,7 @@ else
|
|||
program_invocation_name_worked=no
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4466 "configure"
|
||||
#line 4472 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -4474,7 +4480,7 @@ main (int argc, char *argv[])
|
|||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:4484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
program_invocation_name_worked=yes
|
||||
else
|
||||
|
@ -4512,7 +4518,7 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking kernel support for /proc filesystem""... $ac_c" 1>&6
|
||||
echo "configure:4516: checking kernel support for /proc filesystem" >&5
|
||||
echo "configure:4522: checking kernel support for /proc filesystem" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_sys_procfs'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -4549,7 +4555,7 @@ EOF
|
|||
|
||||
|
||||
echo $ac_n "checking link to exe of process in /proc""... $ac_c" 1>&6
|
||||
echo "configure:4553: checking link to exe of process in /proc" >&5
|
||||
echo "configure:4559: checking link to exe of process in /proc" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_sys_procfs_exe_link'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -4582,16 +4588,16 @@ EOF
|
|||
# Check if /proc/$$/cmdline terminates the last argument with a nul
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking /proc/$$/cmdline terminated by nul""... $ac_c" 1>&6
|
||||
echo "configure:4586: checking /proc/$$/cmdline terminated by nul" >&5
|
||||
echo "configure:4592: checking /proc/$$/cmdline terminated by nul" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
CMDLINE_TERMINATED=0
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4591 "configure"
|
||||
#line 4597 "configure"
|
||||
#include "confdefs.h"
|
||||
#include "$srcdir/config/config.proccmd.c"
|
||||
EOF
|
||||
if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
CMDLINE_TERMINATED=1
|
||||
else
|
||||
|
@ -4617,16 +4623,16 @@ fi
|
|||
# Check if short and int values need to be word aligned
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking short/int needs to be word aligned""... $ac_c" 1>&6
|
||||
echo "configure:4621: checking short/int needs to be word aligned" >&5
|
||||
echo "configure:4627: checking short/int needs to be word aligned" >&5
|
||||
if test "$cross_compiling" = yes; then
|
||||
NEED_WORD_ALIGNMENT=1
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4626 "configure"
|
||||
#line 4632 "configure"
|
||||
#include "confdefs.h"
|
||||
#include "$srcdir/config/config.align.c"
|
||||
EOF
|
||||
if { (eval echo configure:4630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
NEED_WORD_ALIGNMENT=0
|
||||
else
|
||||
|
@ -4654,7 +4660,7 @@ fi
|
|||
# doesn't work. Allow NSProcessInfo initialization method also.
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking "use of pass-through arguments"""... $ac_c" 1>&6
|
||||
echo "configure:4658: checking "use of pass-through arguments"" >&5
|
||||
echo "configure:4664: checking "use of pass-through arguments"" >&5
|
||||
# Check whether --enable-pass-arguments or --disable-pass-arguments was given.
|
||||
if test "${enable_pass_arguments+set}" = set; then
|
||||
enableval="$enable_pass_arguments"
|
||||
|
@ -4676,7 +4682,7 @@ fi
|
|||
echo "$ac_t""$enable_pass_arguments" 1>&6
|
||||
|
||||
echo $ac_n "checking "use of fake-main definition"""... $ac_c" 1>&6
|
||||
echo "configure:4680: checking "use of fake-main definition"" >&5
|
||||
echo "configure:4686: checking "use of fake-main definition"" >&5
|
||||
# Check whether --enable-fake-main or --disable-fake-main was given.
|
||||
if test "${enable_fake_main+set}" = set; then
|
||||
enableval="$enable_fake_main"
|
||||
|
@ -4736,17 +4742,17 @@ fi
|
|||
|
||||
ac_safe=`echo "ffi.h" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for ffi.h""... $ac_c" 1>&6
|
||||
echo "configure:4740: checking for ffi.h" >&5
|
||||
echo "configure:4746: checking for ffi.h" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4745 "configure"
|
||||
#line 4751 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <ffi.h>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4756: \"$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*
|
||||
|
@ -4770,9 +4776,9 @@ fi
|
|||
|
||||
|
||||
echo $ac_n "checking "for forwarding callback in runtime"""... $ac_c" 1>&6
|
||||
echo "configure:4774: checking "for forwarding callback in runtime"" >&5
|
||||
echo "configure:4780: checking "for forwarding callback in runtime"" >&5
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4776 "configure"
|
||||
#line 4782 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <objc/objc-api.h>
|
||||
EOF
|
||||
|
@ -4790,17 +4796,17 @@ for ac_hdr in callback.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:4794: checking for $ac_hdr" >&5
|
||||
echo "configure:4800: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4799 "configure"
|
||||
#line 4805 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:4804: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:4810: \"$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*
|
||||
|
@ -4829,7 +4835,7 @@ done
|
|||
|
||||
|
||||
echo $ac_n "checking "FFI library usage"""... $ac_c" 1>&6
|
||||
echo "configure:4833: checking "FFI library usage"" >&5
|
||||
echo "configure:4839: checking "FFI library usage"" >&5
|
||||
WITH_FFI=none
|
||||
if test $enable_libffi = yes; then
|
||||
cat >> confdefs.h <<\EOF
|
||||
|
@ -4894,7 +4900,7 @@ fi
|
|||
# Extract the first word of "xml2-config", so it can be a program name with args.
|
||||
set dummy xml2-config; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:4898: checking for $ac_word" >&5
|
||||
echo "configure:4904: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_XML2_CONFIG'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -4931,7 +4937,7 @@ fi
|
|||
# Extract the first word of "xml-config", so it can be a program name with args.
|
||||
set dummy xml-config; ac_word=$2
|
||||
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
||||
echo "configure:4935: checking for $ac_word" >&5
|
||||
echo "configure:4941: checking for $ac_word" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_path_XML_CONFIG'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
|
@ -4969,7 +4975,7 @@ fi
|
|||
fi
|
||||
min_xml_version=2.2.3
|
||||
echo $ac_n "checking for libxml - version >= $min_xml_version""... $ac_c" 1>&6
|
||||
echo "configure:4973: checking for libxml - version >= $min_xml_version" >&5
|
||||
echo "configure:4979: checking for libxml - version >= $min_xml_version" >&5
|
||||
no_xml=""
|
||||
if test "$XML_CONFIG" = "no" ; then
|
||||
no_xml=yes
|
||||
|
@ -4992,7 +4998,7 @@ echo "configure:4973: checking for libxml - version >= $min_xml_version" >&5
|
|||
echo $ac_n "cross compiling; assumed OK... $ac_c"
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4996 "configure"
|
||||
#line 5002 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -5067,7 +5073,7 @@ main()
|
|||
}
|
||||
|
||||
EOF
|
||||
if { (eval echo configure:5071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
if { (eval echo configure:5077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
|
||||
then
|
||||
:
|
||||
else
|
||||
|
@ -5172,17 +5178,17 @@ if test $enable_openssl = yes; then
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:5176: checking for $ac_hdr" >&5
|
||||
echo "configure:5182: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5181 "configure"
|
||||
#line 5187 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:5186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:5192: \"$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*
|
||||
|
@ -5215,7 +5221,7 @@ done
|
|||
ssl_ok=no
|
||||
else
|
||||
echo $ac_n "checking for CRYPTO_malloc in -lcrypto""... $ac_c" 1>&6
|
||||
echo "configure:5219: checking for CRYPTO_malloc in -lcrypto" >&5
|
||||
echo "configure:5225: checking for CRYPTO_malloc in -lcrypto" >&5
|
||||
ac_lib_var=`echo crypto'_'CRYPTO_malloc | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5223,7 +5229,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lcrypto $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5227 "configure"
|
||||
#line 5233 "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
|
||||
|
@ -5234,7 +5240,7 @@ int main() {
|
|||
CRYPTO_malloc()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5244: \"$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
|
||||
|
@ -5259,7 +5265,7 @@ fi
|
|||
base_libs="$LIBS"
|
||||
LIBS="$LIBS -lcrypto"
|
||||
echo $ac_n "checking for ssl2_clear in -lssl""... $ac_c" 1>&6
|
||||
echo "configure:5263: checking for ssl2_clear in -lssl" >&5
|
||||
echo "configure:5269: checking for ssl2_clear in -lssl" >&5
|
||||
ac_lib_var=`echo ssl'_'ssl2_clear | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5267,7 +5273,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lssl $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5271 "configure"
|
||||
#line 5277 "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
|
||||
|
@ -5278,7 +5284,7 @@ int main() {
|
|||
ssl2_clear()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5288: \"$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
|
||||
|
@ -5308,7 +5314,7 @@ EOF
|
|||
fi
|
||||
|
||||
echo $ac_n "checking for des_setkey in -lcipher""... $ac_c" 1>&6
|
||||
echo "configure:5312: checking for des_setkey in -lcipher" >&5
|
||||
echo "configure:5318: checking for des_setkey in -lcipher" >&5
|
||||
ac_lib_var=`echo cipher'_'des_setkey | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5316,7 +5322,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lcipher $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5320 "configure"
|
||||
#line 5326 "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
|
||||
|
@ -5327,7 +5333,7 @@ int main() {
|
|||
des_setkey()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5337: \"$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
|
||||
|
@ -5397,17 +5403,17 @@ for ac_hdr in gmp.h
|
|||
do
|
||||
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
||||
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
||||
echo "configure:5401: checking for $ac_hdr" >&5
|
||||
echo "configure:5407: checking for $ac_hdr" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5406 "configure"
|
||||
#line 5412 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <$ac_hdr>
|
||||
EOF
|
||||
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
||||
{ (eval echo configure:5411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
||||
{ (eval echo configure:5417: \"$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*
|
||||
|
@ -5435,7 +5441,7 @@ done
|
|||
|
||||
if test $ac_cv_header_gmp_h = yes; then
|
||||
echo $ac_n "checking for mpf_abs in -lgmp""... $ac_c" 1>&6
|
||||
echo "configure:5439: checking for mpf_abs in -lgmp" >&5
|
||||
echo "configure:5445: checking for mpf_abs in -lgmp" >&5
|
||||
ac_lib_var=`echo gmp'_'mpf_abs | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5443,7 +5449,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lgmp $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5447 "configure"
|
||||
#line 5453 "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
|
||||
|
@ -5454,7 +5460,7 @@ int main() {
|
|||
mpf_abs()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5464: \"$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
|
||||
|
@ -5477,7 +5483,7 @@ fi
|
|||
|
||||
if test "$gmp_ok" = no; then
|
||||
echo $ac_n "checking for __gmpf_abs in -lgmp""... $ac_c" 1>&6
|
||||
echo "configure:5481: checking for __gmpf_abs in -lgmp" >&5
|
||||
echo "configure:5487: checking for __gmpf_abs in -lgmp" >&5
|
||||
ac_lib_var=`echo gmp'_'__gmpf_abs | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5485,7 +5491,7 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lgmp $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5489 "configure"
|
||||
#line 5495 "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
|
||||
|
@ -5496,7 +5502,7 @@ int main() {
|
|||
__gmpf_abs()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5506: \"$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
|
||||
|
@ -5538,12 +5544,12 @@ fi
|
|||
for ac_func in iconv
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:5542: checking for $ac_func" >&5
|
||||
echo "configure:5548: checking for $ac_func" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5547 "configure"
|
||||
#line 5553 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char $ac_func(); below. */
|
||||
|
@ -5566,7 +5572,7 @@ $ac_func();
|
|||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5576: \"$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
|
||||
|
@ -5608,7 +5614,7 @@ fi
|
|||
|
||||
# BSDs install this lib as libgiconv
|
||||
echo $ac_n "checking for main in -lgiconv""... $ac_c" 1>&6
|
||||
echo "configure:5612: checking for main in -lgiconv" >&5
|
||||
echo "configure:5618: checking for main in -lgiconv" >&5
|
||||
ac_lib_var=`echo giconv'_'main | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5616,14 +5622,14 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-lgiconv $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5620 "configure"
|
||||
#line 5626 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
main()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5633: \"$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
|
||||
|
@ -5661,7 +5667,7 @@ EOF
|
|||
|
||||
else
|
||||
echo $ac_n "checking for main in -liconv""... $ac_c" 1>&6
|
||||
echo "configure:5665: checking for main in -liconv" >&5
|
||||
echo "configure:5671: checking for main in -liconv" >&5
|
||||
ac_lib_var=`echo iconv'_'main | sed 'y%./+-%__p_%'`
|
||||
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
|
@ -5669,14 +5675,14 @@ else
|
|||
ac_save_LIBS="$LIBS"
|
||||
LIBS="-liconv $LIBS"
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5673 "configure"
|
||||
#line 5679 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
int main() {
|
||||
main()
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5686: \"$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
|
||||
|
@ -5722,7 +5728,7 @@ subdirs="Source/mframe"
|
|||
# Record the version
|
||||
#--------------------------------------------------------------------
|
||||
echo $ac_n "checking for the version of gnustep-base we are compiling""... $ac_c" 1>&6
|
||||
echo "configure:5726: checking for the version of gnustep-base we are compiling" >&5
|
||||
echo "configure:5732: checking for the version of gnustep-base we are compiling" >&5
|
||||
if test -f "Version"; then
|
||||
. ./Version
|
||||
fi
|
||||
|
|
10
configure.in
10
configure.in
|
@ -619,8 +619,11 @@ AC_TRY_CPP([#ifdef HAVE_STDINT_H
|
|||
#endif
|
||||
#include <limits.h>
|
||||
#if defined(LONG_LONG_MAX)
|
||||
#if LONG_MAX != LONG_LONG_MAX
|
||||
#if LONG_MAX == LONG_LONG_MAX
|
||||
#error long max equals long long max
|
||||
#endif
|
||||
#else
|
||||
#error long long max not defined
|
||||
#endif
|
||||
], llmax=yes, llmax=no)
|
||||
if test $llmax = yes; then
|
||||
|
@ -637,8 +640,11 @@ AC_MSG_CHECKING([whether we have LLONG_MAX])
|
|||
|
||||
AC_TRY_CPP([#include <limits.h>
|
||||
#if defined(LLONG_MAX)
|
||||
#if LONG_MAX != LLONG_MAX
|
||||
#if LONG_MAX = LLONG_MAX
|
||||
#error long max equals long long max
|
||||
#endif
|
||||
#else
|
||||
#error llong max not defined
|
||||
#endif
|
||||
], llmax=yes, llmax=no)
|
||||
|
||||
|
|
Loading…
Reference in a new issue