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