The usual

This commit is contained in:
Guido van Rossum 1996-08-30 15:18:41 +00:00
parent f2f7eb34c8
commit 2b3ac69a3a
1 changed files with 56 additions and 5 deletions

61
configure vendored
View File

@ -1,6 +1,6 @@
#! /bin/sh
# From configure.in Revision: 1.34
# From configure.in Revision: 1.35
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
@ -1702,7 +1702,7 @@ fi
# broken. I see no elegant solution (probably CHECK_LIB should be
# fixed to only add the library if the given entry point is not
# satisfied without it).
if test "`uname -s`" != IRIX
if test "$ac_sys_system" != IRIX
then
echo $ac_n "checking for -lnsl""... $ac_c" 1>&6
ac_lib_var=`echo nsl'_'t_open | tr './+\055' '__p_'`
@ -2325,7 +2325,7 @@ else
fi
done
for ac_func in dup2 getcwd strerror memmove
for ac_func in dup2 getcwd strdup strerror memmove
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
@ -3219,6 +3219,57 @@ else
fi
done
for ac_func in hypot
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
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 3230 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char $ac_func();
int main() { return 0; }
int t() {
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
choke me
#else
$ac_func();
#endif
; return 0; }
EOF
if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
rm -rf conftest*
eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
fi
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
echo "$ac_t""yes" 1>&6
:
else
echo "$ac_t""no" 1>&6
LIBOBJS="$LIBOBJS ${ac_func}.o"
fi
done
LIBS=$LIBS_SAVE
# check for getopt
@ -3230,7 +3281,7 @@ else
ac_cv_func_getopt=no
else
cat > conftest.$ac_ext <<EOF
#line 3234 "configure"
#line 3285 "configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
@ -3242,7 +3293,7 @@ int main() {
exit(0);
}
EOF
{ (eval echo configure:3246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
{ (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_func_getopt=yes
else