Blame patches/curl-7.88.0.local.patch

f6761e
diff -ru curl-7.88.0.orig/configure curl-7.88.0/configure
f6761e
--- curl-7.88.0.orig/configure	2023-02-15 22:15:26.342600801 +0100
f6761e
+++ curl-7.88.0/configure	2023-02-15 22:24:01.526208156 +0100
f6761e
@@ -15876,6 +15876,16 @@
f6761e
   version_type=windows
f6761e
   ;;
f6761e
 
f6761e
+midipix)
f6761e
+  dynamic_linker='ld'
f6761e
+  library_names_spec='$libname.lib.a'
f6761e
+  need_lib_prefix=no
f6761e
+  need_version=no
f6761e
+  shlibpath_overrides_runpath=yes
f6761e
+  shrext_cmds=.so
f6761e
+  version_type=windows
f6761e
+  ;;
f6761e
+
f6761e
 netbsdelf*-gnu)
f6761e
   version_type=linux
f6761e
   need_lib_prefix=no
f6761e
@@ -17446,3199 +17456,6 @@
f6761e
   flags_prefer_cppflags="no"
f6761e
   #
f6761e
 
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is DEC/Compaq/HP C" >&5
f6761e
-printf %s "checking if compiler is DEC/Compaq/HP C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __DECC
f6761e
-CURL_DEF_TOKEN __DECC
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___DECC=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___DECC=yes
f6761e
-    curl_cv_def___DECC=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __DECC_VER
f6761e
-CURL_DEF_TOKEN __DECC_VER
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__DECC_VER"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___DECC_VER=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___DECC_VER=yes
f6761e
-    curl_cv_def___DECC_VER=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___DECC" = "yes" &&
f6761e
-    test "$curl_cv_have_def___DECC_VER" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="DEC_C"
f6761e
-    flags_dbg_yes="-g2"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -O3 -O4"
f6761e
-    flags_opt_yes="-O1"
f6761e
-    flags_opt_off="-O0"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is HP-UX C" >&5
f6761e
-printf %s "checking if compiler is HP-UX C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __HP_cc
f6761e
-CURL_DEF_TOKEN __HP_cc
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__HP_cc"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___HP_cc=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___HP_cc=yes
f6761e
-    curl_cv_def___HP_cc=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___HP_cc" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="HP_UX_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O +O0 +O1 +O2 +O3 +O4"
f6761e
-    flags_opt_yes="+O2"
f6761e
-    flags_opt_off="+O0"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is IBM C" >&5
f6761e
-printf %s "checking if compiler is IBM C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __IBMC__
f6761e
-CURL_DEF_TOKEN __IBMC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__IBMC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___IBMC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___IBMC__=yes
f6761e
-    curl_cv_def___IBMC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___IBMC__" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="IBM_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -O3 -O4 -O5"
f6761e
-    flags_opt_all="$flags_opt_all -qnooptimize"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=0"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=1"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=2"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=3"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=4"
f6761e
-    flags_opt_all="$flags_opt_all -qoptimize=5"
f6761e
-    flags_opt_yes="-O2"
f6761e
-    flags_opt_off="-qnooptimize"
f6761e
-    flags_prefer_cppflags="yes"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Intel C" >&5
f6761e
-printf %s "checking if compiler is Intel C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __INTEL_COMPILER
f6761e
-CURL_DEF_TOKEN __INTEL_COMPILER
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__INTEL_COMPILER"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___INTEL_COMPILER=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___INTEL_COMPILER=yes
f6761e
-    curl_cv_def___INTEL_COMPILER=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_num="$curl_cv_def___INTEL_COMPILER"
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __unix__
f6761e
-CURL_DEF_TOKEN __unix__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = ""; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___unix__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___unix__=yes
f6761e
-    curl_cv_def___unix__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-    if test "$curl_cv_have_def___unix__" = "yes"; then
f6761e
-      compiler_id="INTEL_UNIX_C"
f6761e
-      flags_dbg_yes="-g"
f6761e
-      flags_opt_all="-O -O0 -O1 -O2 -O3 -Os"
f6761e
-      flags_opt_yes="-O2"
f6761e
-      flags_opt_off="-O0"
f6761e
-    else
f6761e
-      compiler_id="INTEL_WINDOWS_C"
f6761e
-      flags_dbg_yes="/Zi /Oy-"
f6761e
-      flags_opt_all="/O /O0 /O1 /O2 /O3 /Od /Og /Og- /Oi /Oi-"
f6761e
-      flags_opt_yes="/O2"
f6761e
-      flags_opt_off="/Od"
f6761e
-    fi
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is clang" >&5
f6761e
-printf %s "checking if compiler is clang... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __clang__
f6761e
-CURL_DEF_TOKEN __clang__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__clang__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___clang__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___clang__=yes
f6761e
-    curl_cv_def___clang__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___clang__" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is xlclang" >&5
f6761e
-printf %s "checking if compiler is xlclang... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __ibmxl__
f6761e
-CURL_DEF_TOKEN __ibmxl__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__ibmxl__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___ibmxl__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___ibmxl__=yes
f6761e
-    curl_cv_def___ibmxl__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-    if test "$curl_cv_have_def___ibmxl__" = "yes" ; then
f6761e
-            { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-      compiler_id="XLCLANG"
f6761e
-    else
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-      compiler_id="CLANG"
f6761e
-    fi
f6761e
-    fullclangver=`$CC -v 2>&1 | grep version`
f6761e
-    clangver=`echo $fullclangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \([0-9]*\.[0-9]*\).*)/\1/'`
f6761e
-    if test -z "$clangver"; then
f6761e
-      if echo $fullclangver | grep "Apple LLVM version " >/dev/null; then
f6761e
-                clangver="3.7"
f6761e
-      else
f6761e
-        clangver=`echo $fullclangver | "$SED" 's/.*version \([0-9]*\.[0-9]*\).*/\1/'`
f6761e
-      fi
f6761e
-    fi
f6761e
-    clangvhi=`echo $clangver | cut -d . -f1`
f6761e
-    clangvlo=`echo $clangver | cut -d . -f2`
f6761e
-    compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null`
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -Os -O3 -O4"
f6761e
-    flags_opt_yes="-O2"
f6761e
-    flags_opt_off="-O0"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is GNU C" >&5
f6761e
-printf %s "checking if compiler is GNU C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __GNUC__
f6761e
-CURL_DEF_TOKEN __GNUC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___GNUC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___GNUC__=yes
f6761e
-    curl_cv_def___GNUC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___GNUC__" = "yes" &&
f6761e
-    test "$compiler_id" = "unknown"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="GNU_C"
f6761e
-    gccver=`$CC -dumpversion`
f6761e
-    gccvhi=`echo $gccver | cut -d . -f1`
f6761e
-    gccvlo=`echo $gccver | cut -d . -f2`
f6761e
-    compiler_num=`(expr $gccvhi "*" 100 + $gccvlo) 2>/dev/null`
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Os -Og -Ofast"
f6761e
-    flags_opt_yes="-O2"
f6761e
-    flags_opt_off="-O0"
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef _WIN32
f6761e
-CURL_DEF_TOKEN _WIN32
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "_WIN32"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def__WIN32=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def__WIN32=yes
f6761e
-    curl_cv_def__WIN32=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is LCC" >&5
f6761e
-printf %s "checking if compiler is LCC... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __LCC__
f6761e
-CURL_DEF_TOKEN __LCC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__LCC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___LCC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___LCC__=yes
f6761e
-    curl_cv_def___LCC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___LCC__" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="LCC"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all=""
f6761e
-    flags_opt_yes=""
f6761e
-    flags_opt_off=""
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPSpro C" >&5
f6761e
-printf %s "checking if compiler is SGI MIPSpro C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __GNUC__
f6761e
-CURL_DEF_TOKEN __GNUC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___GNUC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___GNUC__=yes
f6761e
-    curl_cv_def___GNUC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef _COMPILER_VERSION
f6761e
-CURL_DEF_TOKEN _COMPILER_VERSION
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "_COMPILER_VERSION"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def__COMPILER_VERSION=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def__COMPILER_VERSION=yes
f6761e
-    curl_cv_def__COMPILER_VERSION=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef _SGI_COMPILER_VERSION
f6761e
-CURL_DEF_TOKEN _SGI_COMPILER_VERSION
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "_SGI_COMPILER_VERSION"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def__SGI_COMPILER_VERSION=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def__SGI_COMPILER_VERSION=yes
f6761e
-    curl_cv_def__SGI_COMPILER_VERSION=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___GNUC__" = "no" &&
f6761e
-    (test "$curl_cv_have_def__SGI_COMPILER_VERSION" = "yes" ||
f6761e
-     test "$curl_cv_have_def__COMPILER_VERSION" = "yes"); then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="SGI_MIPSPRO_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
f6761e
-    flags_opt_yes="-O2"
f6761e
-    flags_opt_off="-O0"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SGI MIPS C" >&5
f6761e
-printf %s "checking if compiler is SGI MIPS C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __GNUC__
f6761e
-CURL_DEF_TOKEN __GNUC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__GNUC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___GNUC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___GNUC__=yes
f6761e
-    curl_cv_def___GNUC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __sgi
f6761e
-CURL_DEF_TOKEN __sgi
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__sgi"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___sgi=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___sgi=yes
f6761e
-    curl_cv_def___sgi=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___GNUC__" = "no" &&
f6761e
-    test "$curl_cv_have_def___sgi" = "yes" &&
f6761e
-    test "$compiler_id" = "unknown"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="SGI_MIPS_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -O0 -O1 -O2 -O3 -Ofast"
f6761e
-    flags_opt_yes="-O2"
f6761e
-    flags_opt_off="-O0"
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is SunPro C" >&5
f6761e
-printf %s "checking if compiler is SunPro C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __SUNPRO_C
f6761e
-CURL_DEF_TOKEN __SUNPRO_C
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__SUNPRO_C"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___SUNPRO_C=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___SUNPRO_C=yes
f6761e
-    curl_cv_def___SUNPRO_C=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___SUNPRO_C" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="SUNPRO_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all="-O -xO -xO1 -xO2 -xO3 -xO4 -xO5"
f6761e
-    flags_opt_yes="-xO2"
f6761e
-    flags_opt_off=""
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler is Tiny C" >&5
f6761e
-printf %s "checking if compiler is Tiny C... " >&6; }
f6761e
-
f6761e
-    OLDCPPFLAGS=$CPPFLAGS
f6761e
-  # CPPPFLAG comes from CURL_CPP_P
f6761e
-  CPPFLAGS="$CPPFLAGS $CPPPFLAG"
f6761e
-      if test -z "$SED"; then
f6761e
-    as_fn_error $? "SED not set. Cannot continue without SED being set." "$LINENO" 5
f6761e
-  fi
f6761e
-  if test -z "$GREP"; then
f6761e
-    as_fn_error $? "GREP not set. Cannot continue without GREP being set." "$LINENO" 5
f6761e
-  fi
f6761e
-
f6761e
-  tmp_exp=""
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#ifdef __TINYC__
f6761e
-CURL_DEF_TOKEN __TINYC__
f6761e
-#endif
f6761e
-
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_cpp "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_exp=`eval "$ac_cpp conftest.$ac_ext" 2>/dev/null | \
f6761e
-      "$GREP" CURL_DEF_TOKEN 2>/dev/null | \
f6761e
-      "$SED" 's/.*CURL_DEF_TOKEN[ ][ ]*//' 2>/dev/null | \
f6761e
-      "$SED" 's/["][ ]*["]//g' 2>/dev/null`
f6761e
-    if test -z "$tmp_exp" || test "$tmp_exp" = "__TINYC__"; then
f6761e
-      tmp_exp=""
f6761e
-    fi
f6761e
-
f6761e
-fi
f6761e
-rm -f conftest.err conftest.i conftest.$ac_ext
f6761e
-  if test -z "$tmp_exp"; then
f6761e
-    curl_cv_have_def___TINYC__=no
f6761e
-
f6761e
-  else
f6761e
-    curl_cv_have_def___TINYC__=yes
f6761e
-    curl_cv_def___TINYC__=$tmp_exp
f6761e
-
f6761e
-  fi
f6761e
-      CPPFLAGS=$OLDCPPFLAGS
f6761e
-
f6761e
-  if test "$curl_cv_have_def___TINYC__" = "yes"; then
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-    compiler_id="TINY_C"
f6761e
-    flags_dbg_yes="-g"
f6761e
-    flags_opt_all=""
f6761e
-    flags_opt_yes=""
f6761e
-    flags_opt_off=""
f6761e
-  else
f6761e
-    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-  fi
f6761e
-
f6761e
-  #
f6761e
-  if test "$compiler_id" = "unknown"; then
f6761e
-  cat <<_EOF 1>&2
f6761e
-***
f6761e
-*** Warning: This configure script does not have information about the
f6761e
-*** compiler you are using, relative to the flags required to enable or
f6761e
-*** disable generation of debug info, optimization options or warnings.
f6761e
-***
f6761e
-*** Whatever settings are present in CFLAGS will be used for this run.
f6761e
-***
f6761e
-*** If you wish to help the curl project to better support your compiler
f6761e
-*** you can report this and the required info on the libcurl development
f6761e
-*** mailing list: https://lists.haxx.selistinfo/curl-library/
f6761e
-***
f6761e
-_EOF
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-squeeze() {
f6761e
-  _sqz_result=""
f6761e
-  eval _sqz_input=\$$1
f6761e
-  for _sqz_token in $_sqz_input; do
f6761e
-    if test -z "$_sqz_result"; then
f6761e
-      _sqz_result="$_sqz_token"
f6761e
-    else
f6761e
-      _sqz_result="$_sqz_result $_sqz_token"
f6761e
-    fi
f6761e
-  done
f6761e
-  eval $1=\$_sqz_result
f6761e
-  return 0
f6761e
-}
f6761e
-
f6761e
-
f6761e
-      #
f6761e
-  if test "$compiler_id" != "unknown"; then
f6761e
-    #
f6761e
-    tmp_save_CPPFLAGS="$CPPFLAGS"
f6761e
-    tmp_save_CFLAGS="$CFLAGS"
f6761e
-    tmp_CPPFLAGS=""
f6761e
-    tmp_CFLAGS=""
f6761e
-    #
f6761e
-    case "$compiler_id" in
f6761e
-        #
f6761e
-      CLANG)
f6761e
-        #
f6761e
-                                tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
f6761e
-                        tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
f6761e
-        ;;
f6761e
-        #
f6761e
-      DEC_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -std1"
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
f6761e
-        ;;
f6761e
-        #
f6761e
-      GNU_C)
f6761e
-        #
f6761e
-                        if test "$compiler_num" -ge "295"; then
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      HP_UX_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -z"
f6761e
-                                tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
f6761e
-        ;;
f6761e
-        #
f6761e
-      IBM_C)
f6761e
-        #
f6761e
-                tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
f6761e
-                                        tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
f6761e
-        ;;
f6761e
-        #
f6761e
-      INTEL_UNIX_C)
f6761e
-        #
f6761e
-                        tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
f6761e
-                                                tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-error 140,147,165,266"
f6761e
-                                                        tmp_CPPFLAGS="$tmp_CPPFLAGS -diag-disable 279,981,1025,1469,2259"
f6761e
-        ;;
f6761e
-        #
f6761e
-      INTEL_WINDOWS_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      LCC)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -n"
f6761e
-        ;;
f6761e
-        #
f6761e
-      SGI_MIPS_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      SGI_MIPSPRO_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      SUNPRO_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      TINY_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-    esac
f6761e
-    #
f6761e
-    squeeze tmp_CPPFLAGS
f6761e
-    squeeze tmp_CFLAGS
f6761e
-    #
f6761e
-    if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
f6761e
-printf %s "checking if compiler accepts some basic options... " >&6; }
f6761e
-      CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
f6761e
-      CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
f6761e
-      squeeze CPPFLAGS
f6761e
-      squeeze CFLAGS
f6761e
-
f6761e
-    tmp_compiler_works="unknown"
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-      int i = 1;
f6761e
-      return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_compile "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-    tmp_compiler_works="no"
f6761e
-    echo " " >&6
f6761e
-    sed 's/^/cc-fail: /' conftest.err >&6
f6761e
-    echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 1;
f6761e
-        return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_link "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-      tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-      tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      sed 's/^/link-fail: /' conftest.err >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
f6761e
-    conftest$ac_exeext conftest.$ac_ext
f6761e
-  fi
f6761e
-    if test "x$cross_compiling" != "xyes" &&
f6761e
-    test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-   case $host_os in
f6761e
-     darwin*)
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-     ;;
f6761e
-     *)
f6761e
-      old=$LD_LIBRARY_PATH
f6761e
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
f6761e
-      export LD_LIBRARY_PATH
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-      LD_LIBRARY_PATH=$old # restore
f6761e
-     ;;
f6761e
-   esac
f6761e
-
f6761e
-  fi
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
f6761e
-printf "%s\n" "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
f6761e
-
f6761e
-  else
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
f6761e
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
f6761e
-                CPPFLAGS="$tmp_save_CPPFLAGS"
f6761e
-        CFLAGS="$tmp_save_CFLAGS"
f6761e
-
f6761e
-  fi
f6761e
-
f6761e
-    fi
f6761e
-    #
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-        #
f6761e
-  if test "$compiler_id" != "unknown"; then
f6761e
-    #
f6761e
-    tmp_save_CFLAGS="$CFLAGS"
f6761e
-    tmp_save_CPPFLAGS="$CPPFLAGS"
f6761e
-    #
f6761e
-    tmp_options=""
f6761e
-    tmp_CFLAGS="$CFLAGS"
f6761e
-    tmp_CPPFLAGS="$CPPFLAGS"
f6761e
-    #
f6761e
-    if test "$want_debug" = "yes"; then
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
f6761e
-printf %s "checking if compiler accepts debug enabling options... " >&6; }
f6761e
-      tmp_options="$flags_dbg_yes"
f6761e
-    fi
f6761e
-    #
f6761e
-    if test "$flags_prefer_cppflags" = "yes"; then
f6761e
-      CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
f6761e
-      CFLAGS="$tmp_CFLAGS"
f6761e
-    else
f6761e
-      CPPFLAGS="$tmp_CPPFLAGS"
f6761e
-      CFLAGS="$tmp_CFLAGS $tmp_options"
f6761e
-    fi
f6761e
-    squeeze CPPFLAGS
f6761e
-    squeeze CFLAGS
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-        #
f6761e
-  if test "$compiler_id" != "unknown"; then
f6761e
-    #
f6761e
-    tmp_save_CFLAGS="$CFLAGS"
f6761e
-    tmp_save_CPPFLAGS="$CPPFLAGS"
f6761e
-    #
f6761e
-    tmp_options=""
f6761e
-    tmp_CFLAGS="$CFLAGS"
f6761e
-    tmp_CPPFLAGS="$CPPFLAGS"
f6761e
-    honor_optimize_option="yes"
f6761e
-    #
f6761e
-                        #
f6761e
-    if test "$want_optimize" = "assume_no" ||
f6761e
-       test "$want_optimize" = "assume_yes"; then
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be used" >&5
f6761e
-printf %s "checking if compiler optimizer assumed setting might be used... " >&6; }
f6761e
-
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $tmp_CFLAGS; do
f6761e
-    for word2 in $flags_opt_all; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-  if test "$ac_var_match_word" = "yes"; then
f6761e
-
f6761e
-        honor_optimize_option="no"
f6761e
-
f6761e
-
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $tmp_CPPFLAGS; do
f6761e
-    for word2 in $flags_opt_all; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-  if test "$ac_var_match_word" = "yes"; then
f6761e
-
f6761e
-        honor_optimize_option="no"
f6761e
-
f6761e
-
f6761e
-  fi
f6761e
-
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
f6761e
-printf "%s\n" "$honor_optimize_option" >&6; }
f6761e
-      if test "$honor_optimize_option" = "yes"; then
f6761e
-        if test "$want_optimize" = "assume_yes"; then
f6761e
-          want_optimize="yes"
f6761e
-        fi
f6761e
-        if test "$want_optimize" = "assume_no"; then
f6761e
-          want_optimize="no"
f6761e
-        fi
f6761e
-      fi
f6761e
-    fi
f6761e
-    #
f6761e
-    if test "$honor_optimize_option" = "yes"; then
f6761e
-
f6761e
-    ac_var_stripped=""
f6761e
-  for word1 in $tmp_CFLAGS; do
f6761e
-    ac_var_strip_word="no"
f6761e
-    for word2 in $flags_opt_all; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_strip_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-    if test "$ac_var_strip_word" = "no"; then
f6761e
-      ac_var_stripped="$ac_var_stripped $word1"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$ac_var_stripped"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_stripped=""
f6761e
-  for word1 in $tmp_CPPFLAGS; do
f6761e
-    ac_var_strip_word="no"
f6761e
-    for word2 in $flags_opt_all; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_strip_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-    if test "$ac_var_strip_word" = "no"; then
f6761e
-      ac_var_stripped="$ac_var_stripped $word1"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CPPFLAGS="$ac_var_stripped"
f6761e
-  squeeze tmp_CPPFLAGS
f6761e
-
f6761e
-      if test "$want_optimize" = "yes"; then
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
f6761e
-printf %s "checking if compiler accepts optimizer enabling options... " >&6; }
f6761e
-        tmp_options="$flags_opt_yes"
f6761e
-      fi
f6761e
-      if test "$want_optimize" = "no"; then
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options" >&5
f6761e
-printf %s "checking if compiler accepts optimizer disabling options... " >&6; }
f6761e
-        tmp_options="$flags_opt_off"
f6761e
-      fi
f6761e
-      if test "$flags_prefer_cppflags" = "yes"; then
f6761e
-        CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
f6761e
-        CFLAGS="$tmp_CFLAGS"
f6761e
-      else
f6761e
-        CPPFLAGS="$tmp_CPPFLAGS"
f6761e
-        CFLAGS="$tmp_CFLAGS $tmp_options"
f6761e
-      fi
f6761e
-      squeeze CPPFLAGS
f6761e
-      squeeze CFLAGS
f6761e
-
f6761e
-    tmp_compiler_works="unknown"
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-      int i = 1;
f6761e
-      return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_compile "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-    tmp_compiler_works="no"
f6761e
-    echo " " >&6
f6761e
-    sed 's/^/cc-fail: /' conftest.err >&6
f6761e
-    echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 1;
f6761e
-        return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_link "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-      tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-      tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      sed 's/^/link-fail: /' conftest.err >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
f6761e
-    conftest$ac_exeext conftest.$ac_ext
f6761e
-  fi
f6761e
-    if test "x$cross_compiling" != "xyes" &&
f6761e
-    test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-   case $host_os in
f6761e
-     darwin*)
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-     ;;
f6761e
-     *)
f6761e
-      old=$LD_LIBRARY_PATH
f6761e
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
f6761e
-      export LD_LIBRARY_PATH
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-      LD_LIBRARY_PATH=$old # restore
f6761e
-     ;;
f6761e
-   esac
f6761e
-
f6761e
-  fi
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
f6761e
-printf "%s\n" "$as_me: compiler options added: $tmp_options" >&6;}
f6761e
-
f6761e
-  else
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
f6761e
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
f6761e
-                CPPFLAGS="$tmp_save_CPPFLAGS"
f6761e
-        CFLAGS="$tmp_save_CFLAGS"
f6761e
-
f6761e
-  fi
f6761e
-
f6761e
-    fi
f6761e
-    #
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-        #
f6761e
-  if test "$compiler_id" != "unknown"; then
f6761e
-    #
f6761e
-    tmp_save_CPPFLAGS="$CPPFLAGS"
f6761e
-    tmp_save_CFLAGS="$CFLAGS"
f6761e
-    tmp_CPPFLAGS=""
f6761e
-    tmp_CFLAGS=""
f6761e
-    #
f6761e
-    case "$compiler_id" in
f6761e
-        #
f6761e
-      CLANG)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -pedantic"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in all extra; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in pointer-arith write-strings; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in shadow; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in inline nested-externs; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-declarations; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-prototypes; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in float-equal; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in no-multichar sign-compare; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in undef; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in endif-labels strict-prototypes; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in declaration-after-statement; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in cast-align; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in shorten-64-to-32; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "101"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in unused; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "208"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in vla; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "209"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in shift-sign-overflow; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "302"; then
f6761e
-            case $host_os in
f6761e
-            cygwin* | mingw*)
f6761e
-                                          ;;
f6761e
-            *)
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-variable-declarations; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-              ;;
f6761e
-            esac
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "306"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in double-promotion; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "309"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in comma; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            # avoid the varargs warning, fixed in 4.0
f6761e
-            # https://bugs.llvm.org/show_bug.cgi?id=29140
f6761e
-            if test "$compiler_num" -lt "400"; then
f6761e
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
f6761e
-            fi
f6761e
-          fi
f6761e
-                    if test "$compiler_num" -ge "700"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in assign-enum; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in extra-semi-stmt; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      DEC_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                    tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      GNU_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
f6761e
-          #
f6761e
-                              if test "x$cross_compiling" != "xyes" ||
f6761e
-            test "$compiler_num" -ge "300"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -pedantic"
f6761e
-          fi
f6761e
-          #
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in all; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -W"
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "104"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in pointer-arith write-strings; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-                        if test "x$cross_compiling" != "xyes" ||
f6761e
-              test "$compiler_num" -ge "300"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in unused shadow; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            fi
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "207"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in inline nested-externs; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-                        if test "x$cross_compiling" != "xyes" ||
f6761e
-              test "$compiler_num" -ge "300"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-declarations; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-prototypes; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            fi
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "295"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in bad-function-cast; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "296"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in float-equal; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in sign-compare; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in undef; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "297"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "300"; then
f6761e
-                                                            tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "303"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in endif-labels strict-prototypes; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "304"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in declaration-after-statement; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in old-style-definition; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "400"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "402"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in cast-align; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "403"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in type-limits old-style-declaration; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in missing-parameter-type empty-body; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in clobbered ignored-qualifiers; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in conversion; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in vla; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-                        tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "405"; then
f6761e
-                        if test "$curl_cv_have_def__WIN32" = "yes"; then
f6761e
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
f6761e
-            fi
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "406"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in double-promotion; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "408"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "500"; then
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "600"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in shift-negative-value; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in null-dereference; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in duplicated-cond; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in unused-const-variable; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "700"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in duplicated-branches; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in restrict; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in alloc-zero; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
f6761e
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
f6761e
-            if test "$compiler_num" -lt "1200"; then
f6761e
-                            tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
f6761e
-            fi
f6761e
-          fi
f6761e
-          #
f6761e
-                    if test "$compiler_num" -ge "1000"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in arith-conversion; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in enum-conversion; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-          fi
f6761e
-          #
f6761e
-        fi
f6761e
-        #
f6761e
-                if test "$compiler_num" -ge "300"; then
f6761e
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
f6761e
-        else
f6761e
-                              if test "x$cross_compiling" = "xyes"; then
f6761e
-            if test "$compiler_num" -ge "104"; then
f6761e
-                            tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
f6761e
-            fi
f6761e
-            if test "$compiler_num" -ge "207"; then
f6761e
-                            tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
f6761e
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
f6761e
-            fi
f6761e
-          fi
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      HP_UX_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                    tmp_CFLAGS="$tmp_CFLAGS +w1"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      IBM_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      INTEL_UNIX_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-          if test "$compiler_num" -gt "600"; then
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
f6761e
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
f6761e
-          fi
f6761e
-        fi
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
f6761e
-        ;;
f6761e
-        #
f6761e
-      INTEL_WINDOWS_C)
f6761e
-        #
f6761e
-                tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        ;;
f6761e
-        #
f6761e
-      LCC)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                                                  tmp_CFLAGS="$tmp_CFLAGS"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      SGI_MIPS_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                    tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      SGI_MIPSPRO_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                    tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
f6761e
-                              tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      SUNPRO_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-                    tmp_CFLAGS="$tmp_CFLAGS -v"
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-      TINY_C)
f6761e
-        #
f6761e
-        if test "$want_warnings" = "yes"; then
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in all; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in write-strings; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-
f6761e
-    ac_var_added_warnings=""
f6761e
-  for warning in unsupported; do
f6761e
-
f6761e
-  ac_var_match_word="no"
f6761e
-  for word1 in $CFLAGS; do
f6761e
-    for word2 in -Wno-$warning -W$warning; do
f6761e
-      if test "$word1" = "$word2"; then
f6761e
-        ac_var_match_word="yes"
f6761e
-      fi
f6761e
-    done
f6761e
-  done
f6761e
-
f6761e
-    if test "$ac_var_match_word" = "no"; then
f6761e
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
f6761e
-    fi
f6761e
-  done
f6761e
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
f6761e
-  squeeze tmp_CFLAGS
f6761e
-
f6761e
-        fi
f6761e
-        ;;
f6761e
-        #
f6761e
-    esac
f6761e
-    #
f6761e
-    squeeze tmp_CPPFLAGS
f6761e
-    squeeze tmp_CFLAGS
f6761e
-    #
f6761e
-    if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
f6761e
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
f6761e
-printf %s "checking if compiler accepts strict warning options... " >&6; }
f6761e
-      CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
f6761e
-      CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
f6761e
-      squeeze CPPFLAGS
f6761e
-      squeeze CFLAGS
f6761e
-
f6761e
-    tmp_compiler_works="unknown"
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-      int i = 1;
f6761e
-      return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_compile "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-    tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-    tmp_compiler_works="no"
f6761e
-    echo " " >&6
f6761e
-    sed 's/^/cc-fail: /' conftest.err >&6
f6761e
-    echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 1;
f6761e
-        return i;
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_link "$LINENO"
f6761e
-then :
f6761e
-
f6761e
-      tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-
f6761e
-      tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      sed 's/^/link-fail: /' conftest.err >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
f6761e
-    conftest$ac_exeext conftest.$ac_ext
f6761e
-  fi
f6761e
-    if test "x$cross_compiling" != "xyes" &&
f6761e
-    test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-   case $host_os in
f6761e
-     darwin*)
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-     ;;
f6761e
-     *)
f6761e
-      old=$LD_LIBRARY_PATH
f6761e
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
f6761e
-      export LD_LIBRARY_PATH
f6761e
-      if test "$cross_compiling" = yes
f6761e
-then :
f6761e
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
f6761e
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
f6761e
-as_fn_error $? "cannot run test program while cross compiling
f6761e
-See \`config.log' for more details" "$LINENO" 5; }
f6761e
-else $as_nop
f6761e
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
f6761e
-/* end confdefs.h.  */
f6761e
-
f6761e
-
f6761e
-#       ifdef __STDC__
f6761e
-#         include <stdlib.h>
f6761e
-#       endif
f6761e
-
f6761e
-int main (void)
f6761e
-{
f6761e
-
f6761e
-        int i = 0;
f6761e
-        exit(i);
f6761e
-
f6761e
- ;
f6761e
- return 0;
f6761e
-}
f6761e
-
f6761e
-_ACEOF
f6761e
-if ac_fn_c_try_run "$LINENO"
f6761e
-then :
f6761e
-  tmp_compiler_works="yes"
f6761e
-
f6761e
-else $as_nop
f6761e
-  tmp_compiler_works="no"
f6761e
-      echo " " >&6
f6761e
-      echo "run-fail: test program exited with status $ac_status" >&6
f6761e
-      echo " " >&6
f6761e
-
f6761e
-fi
f6761e
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
f6761e
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
f6761e
-fi
f6761e
-
f6761e
-      LD_LIBRARY_PATH=$old # restore
f6761e
-     ;;
f6761e
-   esac
f6761e
-
f6761e
-  fi
f6761e
-    if test "$tmp_compiler_works" = "yes"; then
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
f6761e
-printf "%s\n" "yes" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
f6761e
-printf "%s\n" "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
f6761e
-
f6761e
-  else
f6761e
-
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
f6761e
-printf "%s\n" "no" >&6; }
f6761e
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
f6761e
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
f6761e
-                CPPFLAGS="$tmp_save_CPPFLAGS"
f6761e
-        CFLAGS="$tmp_save_CFLAGS"
f6761e
-
f6761e
-  fi
f6761e
-
f6761e
-    fi
f6761e
-    #
f6761e
-  fi
f6761e
-
f6761e
-
f6761e
-if test "$compiler_id" = "INTEL_UNIX_C"; then
f6761e
-  #
f6761e
-  if test "$compiler_num" -ge "1000"; then
f6761e
-        CFLAGS="$CFLAGS -shared-intel"
f6761e
-  elif test "$compiler_num" -ge "900"; then
f6761e
-        CFLAGS="$CFLAGS -i-dynamic"
f6761e
-  fi
f6761e
-  #
f6761e
-fi
f6761e
-
f6761e
-CURL_CFLAG_EXTRAS=""
f6761e
-if test X"$want_werror" = Xyes; then
f6761e
-  CURL_CFLAG_EXTRAS="-Werror"
f6761e
-  if test "$compiler_id" = "GNU_C"; then
f6761e
-            if test "$compiler_num" -ge "500"; then
f6761e
-      CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
f6761e
-    fi
f6761e
-  fi
f6761e
-fi
f6761e
-
f6761e
-
f6761e
-
f6761e
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
f6761e
 printf %s "checking if compiler halts on compilation errors... " >&6; }
f6761e
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext