summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-30 20:58:57 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-30 20:58:57 (GMT)
commit90eea07d28b4ce6b7a9aae7545319fd5e891513e (patch)
tree745800d08c258a08bc9226a13540025703f39ac0
parent3f13e484842dc662321e67273d0974bf9e0b27bf (diff)
downloadcpython-90eea07d28b4ce6b7a9aae7545319fd5e891513e.zip
cpython-90eea07d28b4ce6b7a9aae7545319fd5e891513e.tar.gz
cpython-90eea07d28b4ce6b7a9aae7545319fd5e891513e.tar.bz2
The usual
-rwxr-xr-xconfigure43
1 files changed, 25 insertions, 18 deletions
diff --git a/configure b/configure
index 99da821..dc5e9d3 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
-# From configure.in Revision: 1.35
+# From configure.in Revision: 1.36
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.10
@@ -2978,14 +2978,21 @@ cat > conftest.$ac_ext <<EOF
#include "confdefs.h"
#include <stdarg.h>
-int foo(int x, ...) { return 0; }
+int foo(int x, ...) {
+ va_list va;
+ va_start(va, x);
+ va_arg(va, int);
+ va_arg(va, char *);
+ va_arg(va, double);
+ return 0;
+}
int main() { return 0; }
int t() {
-return foo(10, 11, 12);
+return foo(10, "", 3.14);
; return 0; }
EOF
-if { (eval echo configure:2989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
#define HAVE_STDARG_PROTOTYPES 1
@@ -3000,7 +3007,7 @@ if test "$have_prototypes" = yes; then
bad_prototypes=no
echo $ac_n "checking for bad exec* prototypes""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 3004 "configure"
+#line 3011 "configure"
#include "confdefs.h"
#include <unistd.h>
int main() { return 0; }
@@ -3008,7 +3015,7 @@ int t() {
char **t;execve("@",t,t);
; return 0; }
EOF
-if { (eval echo configure:3012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
rm -rf conftest*
@@ -3028,7 +3035,7 @@ if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
-#line 3032 "configure"
+#line 3039 "configure"
#include "confdefs.h"
struct s { int a; int b; };
@@ -3044,7 +3051,7 @@ main() {
}
EOF
-{ (eval echo configure:3048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
:
else
@@ -3060,7 +3067,7 @@ echo "$ac_t""$bad_forward" 1>&6
va_list_is_array=no
echo $ac_n "checking whether va_list is an array""... $ac_c" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 3064 "configure"
+#line 3071 "configure"
#include "confdefs.h"
#ifdef HAVE_STDARG_PROTOTYPES
@@ -3074,7 +3081,7 @@ int t() {
va_list list1, list2; list1 = list2;
; return 0; }
EOF
-if { (eval echo configure:3078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
rm -rf conftest*
@@ -3099,7 +3106,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lieee $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3103 "configure"
+#line 3110 "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
@@ -3111,7 +3118,7 @@ int t() {
__fpu_control()
; return 0; }
EOF
-if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:3122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -3173,7 +3180,7 @@ 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 3177 "configure"
+#line 3184 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -3197,7 +3204,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:3201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:3208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -3226,7 +3233,7 @@ 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"
+#line 3237 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@@ -3250,7 +3257,7 @@ $ac_func();
; return 0; }
EOF
-if { (eval echo configure:3254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+if { (eval echo configure:3261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@@ -3281,7 +3288,7 @@ else
ac_cv_func_getopt=no
else
cat > conftest.$ac_ext <<EOF
-#line 3285 "configure"
+#line 3292 "configure"
#include "confdefs.h"
#include <stdio.h>
extern int optind, opterr, getopt();
@@ -3293,7 +3300,7 @@ int main() {
exit(0);
}
EOF
-{ (eval echo configure:3297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
+{ (eval echo configure:3304: \"$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