Blame patches/curl-7.83.1.local.patch

2342c2
--- curl-7.83.1/configure.orig	2022-05-09 11:03:42.000000000 +0200
2342c2
+++ curl-7.83.1/configure	2022-05-11 16:30:58.671831912 +0200
2342c2
@@ -15337,6 +15337,16 @@
2342c2
   dynamic_linker='GNU/Linux ld.so'
2342c2
   ;;
2342c2
 
2342c2
+midipix)
2342c2
+  dynamic_linker='ld'
2342c2
+  library_names_spec='$libname.lib.a'
2342c2
+  need_lib_prefix=no
2342c2
+  need_version=no
2342c2
+  shlibpath_overrides_runpath=yes
2342c2
+  shrext_cmds=.so
2342c2
+  version_type=windows
2342c2
+  ;;
2342c2
+
2342c2
 netbsdelf*-gnu)
2342c2
   version_type=linux
2342c2
   need_lib_prefix=no
2342c2
@@ -17792,2132 +17802,6 @@
2342c2
   return 0
2342c2
 }
2342c2
 
2342c2
-
2342c2
-      #
2342c2
-  if test "$compiler_id" != "unknown"; then
2342c2
-    #
2342c2
-    tmp_save_CPPFLAGS="$CPPFLAGS"
2342c2
-    tmp_save_CFLAGS="$CFLAGS"
2342c2
-    tmp_CPPFLAGS=""
2342c2
-    tmp_CFLAGS=""
2342c2
-    #
2342c2
-    case "$compiler_id" in
2342c2
-        #
2342c2
-      CLANG)
2342c2
-        #
2342c2
-                                tmp_CFLAGS="$tmp_CFLAGS -Qunused-arguments"
2342c2
-                        tmp_CFLAGS="$tmp_CFLAGS -Wno-pointer-bool-conversion"
2342c2
-        ;;
2342c2
-        #
2342c2
-      DEC_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -std1"
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -noansi_alias"
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -warnprotos"
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -msg_fatal toofewargs,toomanyargs"
2342c2
-        ;;
2342c2
-        #
2342c2
-      GNU_C)
2342c2
-        #
2342c2
-                        if test "$compiler_num" -ge "295"; then
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -Werror-implicit-function-declaration"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      HP_UX_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -z"
2342c2
-                                tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
2342c2
-        ;;
2342c2
-        #
2342c2
-      IBM_C)
2342c2
-        #
2342c2
-                tmp_CPPFLAGS="$tmp_CPPFLAGS -qthreaded"
2342c2
-                                        tmp_CPPFLAGS="$tmp_CPPFLAGS -qnoansialias"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -qhalt=e"
2342c2
-        ;;
2342c2
-        #
2342c2
-      INTEL_UNIX_C)
2342c2
-        #
2342c2
-                        tmp_CFLAGS="$tmp_CFLAGS -std=gnu89"
2342c2
-                                                tmp_CPPFLAGS="$tmp_CPPFLAGS -we140,147,165,266"
2342c2
-                                        tmp_CPPFLAGS="$tmp_CPPFLAGS -wd279,981,1469"
2342c2
-        ;;
2342c2
-        #
2342c2
-      INTEL_WINDOWS_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      LCC)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -n"
2342c2
-        ;;
2342c2
-        #
2342c2
-      SGI_MIPS_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      SGI_MIPSPRO_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      SUNPRO_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      TINY_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-    esac
2342c2
-    #
2342c2
-    squeeze tmp_CPPFLAGS
2342c2
-    squeeze tmp_CFLAGS
2342c2
-    #
2342c2
-    if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
2342c2
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts some basic options" >&5
2342c2
-printf %s "checking if compiler accepts some basic options... " >&6; }
2342c2
-      CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
2342c2
-      CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
2342c2
-      squeeze CPPFLAGS
2342c2
-      squeeze CFLAGS
2342c2
-
2342c2
-    tmp_compiler_works="unknown"
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-      int i = 1;
2342c2
-      return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_compile "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-    tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-    tmp_compiler_works="no"
2342c2
-    echo " " >&6
2342c2
-    sed 's/^/cc-fail: /' conftest.err >&6
2342c2
-    echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 1;
2342c2
-        return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_link "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-      tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-      tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      sed 's/^/link-fail: /' conftest.err >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
2342c2
-    conftest$ac_exeext conftest.$ac_ext
2342c2
-  fi
2342c2
-    if test "x$cross_compiling" != "xyes" &&
2342c2
-    test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-   case $host_os in
2342c2
-     darwin*)
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-     ;;
2342c2
-     *)
2342c2
-      old=$LD_LIBRARY_PATH
2342c2
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
2342c2
-      export LD_LIBRARY_PATH
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-      LD_LIBRARY_PATH=$old # restore
2342c2
-     ;;
2342c2
-   esac
2342c2
-
2342c2
-  fi
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342c2
-printf "%s\n" "yes" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
2342c2
-printf "%s\n" "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
2342c2
-
2342c2
-  else
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342c2
-printf "%s\n" "no" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
2342c2
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
2342c2
-                CPPFLAGS="$tmp_save_CPPFLAGS"
2342c2
-        CFLAGS="$tmp_save_CFLAGS"
2342c2
-
2342c2
-  fi
2342c2
-
2342c2
-    fi
2342c2
-    #
2342c2
-  fi
2342c2
-
2342c2
-
2342c2
-        #
2342c2
-  if test "$compiler_id" != "unknown"; then
2342c2
-    #
2342c2
-    tmp_save_CFLAGS="$CFLAGS"
2342c2
-    tmp_save_CPPFLAGS="$CPPFLAGS"
2342c2
-    #
2342c2
-    tmp_options=""
2342c2
-    tmp_CFLAGS="$CFLAGS"
2342c2
-    tmp_CPPFLAGS="$CPPFLAGS"
2342c2
-    #
2342c2
-    if test "$want_debug" = "yes"; then
2342c2
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
2342c2
-printf %s "checking if compiler accepts debug enabling options... " >&6; }
2342c2
-      tmp_options="$flags_dbg_yes"
2342c2
-    fi
2342c2
-    #
2342c2
-    if test "$flags_prefer_cppflags" = "yes"; then
2342c2
-      CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
2342c2
-      CFLAGS="$tmp_CFLAGS"
2342c2
-    else
2342c2
-      CPPFLAGS="$tmp_CPPFLAGS"
2342c2
-      CFLAGS="$tmp_CFLAGS $tmp_options"
2342c2
-    fi
2342c2
-    squeeze CPPFLAGS
2342c2
-    squeeze CFLAGS
2342c2
-  fi
2342c2
-
2342c2
-
2342c2
-        #
2342c2
-  if test "$compiler_id" != "unknown"; then
2342c2
-    #
2342c2
-    tmp_save_CFLAGS="$CFLAGS"
2342c2
-    tmp_save_CPPFLAGS="$CPPFLAGS"
2342c2
-    #
2342c2
-    tmp_options=""
2342c2
-    tmp_CFLAGS="$CFLAGS"
2342c2
-    tmp_CPPFLAGS="$CPPFLAGS"
2342c2
-    honor_optimize_option="yes"
2342c2
-    #
2342c2
-                        #
2342c2
-    if test "$want_optimize" = "assume_no" ||
2342c2
-       test "$want_optimize" = "assume_yes"; then
2342c2
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be used" >&5
2342c2
-printf %s "checking if compiler optimizer assumed setting might be used... " >&6; }
2342c2
-
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $tmp_CFLAGS; do
2342c2
-    for word2 in $flags_opt_all; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-  if test "$ac_var_match_word" = "yes"; then
2342c2
-
2342c2
-        honor_optimize_option="no"
2342c2
-
2342c2
-
2342c2
-  fi
2342c2
-
2342c2
-
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $tmp_CPPFLAGS; do
2342c2
-    for word2 in $flags_opt_all; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-  if test "$ac_var_match_word" = "yes"; then
2342c2
-
2342c2
-        honor_optimize_option="no"
2342c2
-
2342c2
-
2342c2
-  fi
2342c2
-
2342c2
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
2342c2
-printf "%s\n" "$honor_optimize_option" >&6; }
2342c2
-      if test "$honor_optimize_option" = "yes"; then
2342c2
-        if test "$want_optimize" = "assume_yes"; then
2342c2
-          want_optimize="yes"
2342c2
-        fi
2342c2
-        if test "$want_optimize" = "assume_no"; then
2342c2
-          want_optimize="no"
2342c2
-        fi
2342c2
-      fi
2342c2
-    fi
2342c2
-    #
2342c2
-    if test "$honor_optimize_option" = "yes"; then
2342c2
-
2342c2
-    ac_var_stripped=""
2342c2
-  for word1 in $tmp_CFLAGS; do
2342c2
-    ac_var_strip_word="no"
2342c2
-    for word2 in $flags_opt_all; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_strip_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-    if test "$ac_var_strip_word" = "no"; then
2342c2
-      ac_var_stripped="$ac_var_stripped $word1"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$ac_var_stripped"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_stripped=""
2342c2
-  for word1 in $tmp_CPPFLAGS; do
2342c2
-    ac_var_strip_word="no"
2342c2
-    for word2 in $flags_opt_all; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_strip_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-    if test "$ac_var_strip_word" = "no"; then
2342c2
-      ac_var_stripped="$ac_var_stripped $word1"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CPPFLAGS="$ac_var_stripped"
2342c2
-  squeeze tmp_CPPFLAGS
2342c2
-
2342c2
-      if test "$want_optimize" = "yes"; then
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
2342c2
-printf %s "checking if compiler accepts optimizer enabling options... " >&6; }
2342c2
-        tmp_options="$flags_opt_yes"
2342c2
-      fi
2342c2
-      if test "$want_optimize" = "no"; then
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options" >&5
2342c2
-printf %s "checking if compiler accepts optimizer disabling options... " >&6; }
2342c2
-        tmp_options="$flags_opt_off"
2342c2
-      fi
2342c2
-      if test "$flags_prefer_cppflags" = "yes"; then
2342c2
-        CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
2342c2
-        CFLAGS="$tmp_CFLAGS"
2342c2
-      else
2342c2
-        CPPFLAGS="$tmp_CPPFLAGS"
2342c2
-        CFLAGS="$tmp_CFLAGS $tmp_options"
2342c2
-      fi
2342c2
-      squeeze CPPFLAGS
2342c2
-      squeeze CFLAGS
2342c2
-
2342c2
-    tmp_compiler_works="unknown"
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-      int i = 1;
2342c2
-      return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_compile "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-    tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-    tmp_compiler_works="no"
2342c2
-    echo " " >&6
2342c2
-    sed 's/^/cc-fail: /' conftest.err >&6
2342c2
-    echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 1;
2342c2
-        return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_link "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-      tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-      tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      sed 's/^/link-fail: /' conftest.err >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
2342c2
-    conftest$ac_exeext conftest.$ac_ext
2342c2
-  fi
2342c2
-    if test "x$cross_compiling" != "xyes" &&
2342c2
-    test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-   case $host_os in
2342c2
-     darwin*)
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-     ;;
2342c2
-     *)
2342c2
-      old=$LD_LIBRARY_PATH
2342c2
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
2342c2
-      export LD_LIBRARY_PATH
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-      LD_LIBRARY_PATH=$old # restore
2342c2
-     ;;
2342c2
-   esac
2342c2
-
2342c2
-  fi
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342c2
-printf "%s\n" "yes" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
2342c2
-printf "%s\n" "$as_me: compiler options added: $tmp_options" >&6;}
2342c2
-
2342c2
-  else
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342c2
-printf "%s\n" "no" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
2342c2
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
2342c2
-                CPPFLAGS="$tmp_save_CPPFLAGS"
2342c2
-        CFLAGS="$tmp_save_CFLAGS"
2342c2
-
2342c2
-  fi
2342c2
-
2342c2
-    fi
2342c2
-    #
2342c2
-  fi
2342c2
-
2342c2
-
2342c2
-        #
2342c2
-  if test "$compiler_id" != "unknown"; then
2342c2
-    #
2342c2
-    tmp_save_CPPFLAGS="$CPPFLAGS"
2342c2
-    tmp_save_CFLAGS="$CFLAGS"
2342c2
-    tmp_CPPFLAGS=""
2342c2
-    tmp_CFLAGS=""
2342c2
-    #
2342c2
-    case "$compiler_id" in
2342c2
-        #
2342c2
-      CLANG)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -pedantic"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in all extra; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in pointer-arith write-strings; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in shadow; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in inline nested-externs; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-declarations; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-prototypes; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in float-equal; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in no-multichar sign-compare; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in undef; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in endif-labels strict-prototypes; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in declaration-after-statement; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in cast-align; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in shorten-64-to-32; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "101"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in unused; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "208"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in vla; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "209"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in shift-sign-overflow; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "302"; then
2342c2
-            case $host_os in
2342c2
-            cygwin* | mingw*)
2342c2
-                                          ;;
2342c2
-            *)
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-variable-declarations; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-              ;;
2342c2
-            esac
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "306"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in double-promotion; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "309"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in comma; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            # avoid the varargs warning, fixed in 4.0
2342c2
-            # https://bugs.llvm.org/show_bug.cgi?id=29140
2342c2
-            if test "$compiler_num" -lt "400"; then
2342c2
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
2342c2
-            fi
2342c2
-          fi
2342c2
-                    if test "$compiler_num" -ge "700"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in assign-enum; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in extra-semi-stmt; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      DEC_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                    tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      GNU_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-          #
2342c2
-                              if test "x$cross_compiling" != "xyes" ||
2342c2
-            test "$compiler_num" -ge "300"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -pedantic"
2342c2
-          fi
2342c2
-          #
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in all; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -W"
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "104"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in pointer-arith write-strings; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-                        if test "x$cross_compiling" != "xyes" ||
2342c2
-              test "$compiler_num" -ge "300"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in unused shadow; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            fi
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "207"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in inline nested-externs; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-                        if test "x$cross_compiling" != "xyes" ||
2342c2
-              test "$compiler_num" -ge "300"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-declarations; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-prototypes; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            fi
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "295"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in bad-function-cast; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "296"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in float-equal; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in sign-compare; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in undef; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "297"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "300"; then
2342c2
-                                                            tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "303"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in endif-labels strict-prototypes; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "304"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in declaration-after-statement; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in old-style-definition; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "400"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "402"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in cast-align; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "403"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in type-limits old-style-declaration; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in missing-parameter-type empty-body; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in clobbered ignored-qualifiers; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in conversion; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wno-sign-conversion"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in vla; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-                        tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "405"; then
2342c2
-                        if test "$curl_cv_have_def__WIN32" = "yes"; then
2342c2
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
2342c2
-            fi
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "406"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in double-promotion; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "408"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "500"; then
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "600"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in shift-negative-value; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in null-dereference; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -fdelete-null-pointer-checks"
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in duplicated-cond; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in unused-const-variable; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "700"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in duplicated-branches; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in restrict; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in alloc-zero; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
2342c2
-            tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
2342c2
-            if test "$compiler_num" -lt "1200"; then
2342c2
-                            tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
2342c2
-            fi
2342c2
-          fi
2342c2
-          #
2342c2
-                    if test "$compiler_num" -ge "1000"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in arith-conversion; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in enum-conversion; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-          fi
2342c2
-          #
2342c2
-        fi
2342c2
-        #
2342c2
-                if test "$compiler_num" -ge "300"; then
2342c2
-          tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
2342c2
-        else
2342c2
-                              if test "x$cross_compiling" = "xyes"; then
2342c2
-            if test "$compiler_num" -ge "104"; then
2342c2
-                            tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
2342c2
-            fi
2342c2
-            if test "$compiler_num" -ge "207"; then
2342c2
-                            tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
2342c2
-              tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
2342c2
-            fi
2342c2
-          fi
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      HP_UX_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                    tmp_CFLAGS="$tmp_CFLAGS +w1"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      IBM_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      INTEL_UNIX_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-          if test "$compiler_num" -gt "600"; then
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
2342c2
-                        tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
2342c2
-          fi
2342c2
-        fi
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
2342c2
-        ;;
2342c2
-        #
2342c2
-      INTEL_WINDOWS_C)
2342c2
-        #
2342c2
-                tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        ;;
2342c2
-        #
2342c2
-      LCC)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                                                  tmp_CFLAGS="$tmp_CFLAGS"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      SGI_MIPS_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                    tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      SGI_MIPSPRO_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                    tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
2342c2
-                              tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      SUNPRO_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-                    tmp_CFLAGS="$tmp_CFLAGS -v"
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-      TINY_C)
2342c2
-        #
2342c2
-        if test "$want_warnings" = "yes"; then
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in all; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in write-strings; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-
2342c2
-    ac_var_added_warnings=""
2342c2
-  for warning in unsupported; do
2342c2
-
2342c2
-  ac_var_match_word="no"
2342c2
-  for word1 in $CFLAGS; do
2342c2
-    for word2 in -Wno-$warning -W$warning; do
2342c2
-      if test "$word1" = "$word2"; then
2342c2
-        ac_var_match_word="yes"
2342c2
-      fi
2342c2
-    done
2342c2
-  done
2342c2
-
2342c2
-    if test "$ac_var_match_word" = "no"; then
2342c2
-      ac_var_added_warnings="$ac_var_added_warnings -W$warning"
2342c2
-    fi
2342c2
-  done
2342c2
-    tmp_CFLAGS="$tmp_CFLAGS $ac_var_added_warnings"
2342c2
-  squeeze tmp_CFLAGS
2342c2
-
2342c2
-        fi
2342c2
-        ;;
2342c2
-        #
2342c2
-    esac
2342c2
-    #
2342c2
-    squeeze tmp_CPPFLAGS
2342c2
-    squeeze tmp_CFLAGS
2342c2
-    #
2342c2
-    if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
2342c2
-      { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
2342c2
-printf %s "checking if compiler accepts strict warning options... " >&6; }
2342c2
-      CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
2342c2
-      CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
2342c2
-      squeeze CPPFLAGS
2342c2
-      squeeze CFLAGS
2342c2
-
2342c2
-    tmp_compiler_works="unknown"
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-      int i = 1;
2342c2
-      return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_compile "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-    tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-    tmp_compiler_works="no"
2342c2
-    echo " " >&6
2342c2
-    sed 's/^/cc-fail: /' conftest.err >&6
2342c2
-    echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 1;
2342c2
-        return i;
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_link "$LINENO"
2342c2
-then :
2342c2
-
2342c2
-      tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-
2342c2
-      tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      sed 's/^/link-fail: /' conftest.err >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core conftest.err conftest.$ac_objext conftest.beam \
2342c2
-    conftest$ac_exeext conftest.$ac_ext
2342c2
-  fi
2342c2
-    if test "x$cross_compiling" != "xyes" &&
2342c2
-    test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-   case $host_os in
2342c2
-     darwin*)
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-     ;;
2342c2
-     *)
2342c2
-      old=$LD_LIBRARY_PATH
2342c2
-      LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
2342c2
-      export LD_LIBRARY_PATH
2342c2
-      if test "$cross_compiling" = yes
2342c2
-then :
2342c2
-  { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342c2
-printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2342c2
-as_fn_error $? "cannot run test program while cross compiling
2342c2
-See \`config.log' for more details" "$LINENO" 5; }
2342c2
-else $as_nop
2342c2
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
-/* end confdefs.h.  */
2342c2
-
2342c2
-
2342c2
-#       ifdef __STDC__
2342c2
-#         include <stdlib.h>
2342c2
-#       endif
2342c2
-
2342c2
-int main (void)
2342c2
-{
2342c2
-
2342c2
-        int i = 0;
2342c2
-        exit(i);
2342c2
-
2342c2
- ;
2342c2
- return 0;
2342c2
-}
2342c2
-
2342c2
-_ACEOF
2342c2
-if ac_fn_c_try_run "$LINENO"
2342c2
-then :
2342c2
-  tmp_compiler_works="yes"
2342c2
-
2342c2
-else $as_nop
2342c2
-  tmp_compiler_works="no"
2342c2
-      echo " " >&6
2342c2
-      echo "run-fail: test program exited with status $ac_status" >&6
2342c2
-      echo " " >&6
2342c2
-
2342c2
-fi
2342c2
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2342c2
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
2342c2
-fi
2342c2
-
2342c2
-      LD_LIBRARY_PATH=$old # restore
2342c2
-     ;;
2342c2
-   esac
2342c2
-
2342c2
-  fi
2342c2
-    if test "$tmp_compiler_works" = "yes"; then
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2342c2
-printf "%s\n" "yes" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
2342c2
-printf "%s\n" "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
2342c2
-
2342c2
-  else
2342c2
-
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342c2
-printf "%s\n" "no" >&6; }
2342c2
-        { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
2342c2
-printf "%s\n" "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
2342c2
-                CPPFLAGS="$tmp_save_CPPFLAGS"
2342c2
-        CFLAGS="$tmp_save_CFLAGS"
2342c2
-
2342c2
-  fi
2342c2
-
2342c2
-    fi
2342c2
-    #
2342c2
-  fi
2342c2
-
2342c2
-
2342c2
-if test "$compiler_id" = "INTEL_UNIX_C"; then
2342c2
-  #
2342c2
-  if test "$compiler_num" -ge "1000"; then
2342c2
-        CFLAGS="$CFLAGS -shared-intel"
2342c2
-  elif test "$compiler_num" -ge "900"; then
2342c2
-        CFLAGS="$CFLAGS -i-dynamic"
2342c2
-  fi
2342c2
-  #
2342c2
-fi
2342c2
-
2342c2
-CURL_CFLAG_EXTRAS=""
2342c2
-if test X"$want_werror" = Xyes; then
2342c2
-  CURL_CFLAG_EXTRAS="-Werror"
2342c2
-  if test "$compiler_id" = "GNU_C"; then
2342c2
-            if test "$compiler_num" -ge "500"; then
2342c2
-      CURL_CFLAG_EXTRAS="$CURL_CFLAG_EXTRAS -pedantic-errors"
2342c2
-    fi
2342c2
-  fi
2342c2
-fi
2342c2
-
2342c2
-
2342c2
-
2342c2
   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
2342c2
 printf %s "checking if compiler halts on compilation errors... " >&6; }
2342c2
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342c2
--- curl-7.83.1/curl-config.in.orig	2022-05-09 09:52:19.000000000 +0200
2342c2
+++ curl-7.83.1/curl-config.in	2022-05-11 16:28:11.191258534 +0200
2342c2
@@ -155,11 +155,7 @@
2342c2
         ;;
2342c2
 
2342c2
     --libs)
2342c2
-        if test "X@libdir@" != "X/usr/lib" -a "X@libdir@" != "X/usr/lib64"; then
2342c2
-           CURLLIBDIR="-L@libdir@ "
2342c2
-        else
2342c2
-           CURLLIBDIR=""
2342c2
-        fi
2342c2
+        CURLLIBDIR=""
2342c2
         if test "X@ENABLE_SHARED@" = "Xno"; then
2342c2
           echo ${CURLLIBDIR}-lcurl @LIBCURL_LIBS@
2342c2
         else
2342c2
--- curl-7.83.1/src/Makefile.in.orig	2022-05-09 11:03:44.000000000 +0200
2342c2
+++ curl-7.83.1/src/Makefile.in	2022-05-12 17:27:11.606680950 +0200
2342c2
@@ -260,9 +260,9 @@
2342c2
 am_curl_OBJECTS = $(am__objects_8)
2342c2
 curl_OBJECTS = $(am_curl_OBJECTS)
2342c2
 @USE_EXPLICIT_LIB_DEPS_FALSE@curl_DEPENDENCIES =  \
2342c2
-@USE_EXPLICIT_LIB_DEPS_FALSE@	$(top_builddir)/lib/libcurl.la
2342c2
+@USE_EXPLICIT_LIB_DEPS_FALSE@	$(top_builddir)/lib/.libs/libcurl.a
2342c2
 @USE_EXPLICIT_LIB_DEPS_TRUE@curl_DEPENDENCIES =  \
2342c2
-@USE_EXPLICIT_LIB_DEPS_TRUE@	$(top_builddir)/lib/libcurl.la
2342c2
+@USE_EXPLICIT_LIB_DEPS_TRUE@	$(top_builddir)/lib/.libs/libcurl.a
2342c2
 AM_V_P = $(am__v_P_@AM_V@)
2342c2
 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
2342c2
 am__v_P_0 = false
2342c2
@@ -814,8 +814,8 @@
2342c2
 
2342c2
 # CURL_FILES comes from Makefile.inc
2342c2
 curl_SOURCES = $(CURL_FILES)
2342c2
-@USE_EXPLICIT_LIB_DEPS_FALSE@curl_LDADD = $(top_builddir)/lib/libcurl.la @NSS_LIBS@ @SSL_LIBS@ @ZLIB_LIBS@ @CURL_NETWORK_AND_TIME_LIBS@
2342c2
-@USE_EXPLICIT_LIB_DEPS_TRUE@curl_LDADD = $(top_builddir)/lib/libcurl.la @LIBCURL_LIBS@
2342c2
+@USE_EXPLICIT_LIB_DEPS_FALSE@curl_LDADD = $(top_builddir)/lib/.libs/libcurl.a @NSS_LIBS@ @SSL_LIBS@ @ZLIB_LIBS@ @CURL_NETWORK_AND_TIME_LIBS@
2342c2
+@USE_EXPLICIT_LIB_DEPS_TRUE@curl_LDADD = $(top_builddir)/lib/.libs/libcurl.a @LIBCURL_LIBS@
2342c2
 
2342c2
 # if unit tests are enabled, build a static library to link them with
2342c2
 @BUILD_UNITTESTS_TRUE@noinst_LTLIBRARIES = libcurltool.la