From ca3ee9de17c702df2e85a68fab7548e8a98c5695 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 27 Feb 2010 10:04:39 -0500 Subject: [PATCH] Sudo now requires an ANSI/ISO C compiler --- configure | 29 +++++++++++++++-------------- configure.in | 9 ++++----- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/configure b/configure index 09721ac7d..eb7252a52 100755 --- a/configure +++ b/configure @@ -5652,6 +5652,12 @@ else fi +if test "x$ac_cv_prog_cc_c89" = "xno"; then + { { echo "$as_me:$LINENO: error: Sudo version $PACKAGE_VERSION requires an ANSI C compiler to build." >&5 +echo "$as_me: error: Sudo version $PACKAGE_VERSION requires an ANSI C compiler to build." >&2;} + { (exit 1); exit 1; }; } +fi + ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then @@ -6493,7 +6499,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 6496 "configure"' > conftest.$ac_ext + echo '#line 6502 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -8357,11 +8363,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8360: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8366: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8364: \$? = $ac_status" >&5 + echo "$as_me:8370: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8647,11 +8653,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8650: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8656: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:8654: \$? = $ac_status" >&5 + echo "$as_me:8660: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. @@ -8751,11 +8757,11 @@ else -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:8754: $lt_compile\"" >&5) + (eval echo "\"\$as_me:8760: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:8758: \$? = $ac_status" >&5 + echo "$as_me:8764: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -11111,7 +11117,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <