|
Lucio Andrés Illanes Albornoz |
db79d7 |
--- curl-7.68.0/configure.orig 2020-01-05 16:07:42.000000000 +0000
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+++ curl-7.68.0/configure 2020-03-11 16:54:00.333580319 +0000
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
@@ -14426,6 +14426,16 @@
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
dynamic_linker='GNU/Linux ld.so'
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+midipix)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ dynamic_linker='ld'
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ library_names_spec='$libname.lib.a'
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ need_lib_prefix=no
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ need_version=no
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ shlibpath_overrides_runpath=yes
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ shrext_cmds=.so
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ version_type=windows
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+ ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
+
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
netbsdelf*-gnu)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
version_type=linux
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
need_lib_prefix=no
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
@@ -17268,903 +17278,6 @@
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
#
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_id" != "unknown"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CFLAGS="$CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CPPFLAGS="$CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_dbg_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_strip_word" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped="$ac_var_stripped $word1"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$ac_var_stripped"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CPPFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_dbg_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_strip_word" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped="$ac_var_stripped $word1"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$ac_var_stripped"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_debug" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug enabling options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler accepts debug enabling options... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options="$flags_dbg_yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_debug" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts debug disabling options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler accepts debug disabling options... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options="$flags_dbg_off"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$flags_prefer_cppflags" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_CFLAGS $tmp_options"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="unknown"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/cc-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_link "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/link-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest$ac_exeext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" &&
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- old=$LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- export LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$cross_compiling" = yes; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-as_fn_error $? "cannot run test program while cross compiling
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-See \`config.log' for more details" "$LINENO" 5; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# ifdef __STDC__
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# include <stdlib.h>
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# endif
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- exit(i);
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_run "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo "run-fail: test program exited with status $ac_status" >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$old # restore
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "yes" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: compiler options added: $tmp_options" >&6;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "no" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_save_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_save_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_id" != "unknown"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CFLAGS="$CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CPPFLAGS="$CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- honor_optimize_option="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_optimize" = "assume_no" ||
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$want_optimize" = "assume_yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler optimizer assumed setting might be used" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler optimizer assumed setting might be used... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_match_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_opt_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_match_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_match_word" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- honor_optimize_option="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_match_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CPPFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_opt_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_match_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_match_word" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- honor_optimize_option="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $honor_optimize_option" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$honor_optimize_option" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$honor_optimize_option" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_optimize" = "assume_yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- want_optimize="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_optimize" = "assume_no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- want_optimize="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$honor_optimize_option" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_opt_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_strip_word" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped="$ac_var_stripped $word1"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$ac_var_stripped"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word1 in $tmp_CPPFLAGS; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- for word2 in $flags_opt_all; do
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$word1" = "$word2"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_strip_word="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$ac_var_strip_word" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ac_var_stripped="$ac_var_stripped $word1"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- done
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$ac_var_stripped"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_optimize" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer enabling options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler accepts optimizer enabling options... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options="$flags_opt_yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_optimize" = "no"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts optimizer disabling options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler accepts optimizer disabling options... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_options="$flags_opt_off"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$flags_prefer_cppflags" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_CPPFLAGS $tmp_options"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_CFLAGS $tmp_options"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="unknown"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/cc-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_link "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/link-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest$ac_exeext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" &&
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- old=$LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- export LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$cross_compiling" = yes; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-as_fn_error $? "cannot run test program while cross compiling
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-See \`config.log' for more details" "$LINENO" 5; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# ifdef __STDC__
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# include <stdlib.h>
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# endif
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- exit(i);
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_run "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo "run-fail: test program exited with status $ac_status" >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$old # restore
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "yes" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: compiler options added: $tmp_options" >&6;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "no" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: WARNING: compiler options rejected: $tmp_options" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_save_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_save_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_id" != "unknown"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CPPFLAGS="$CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_save_CFLAGS="$CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS=""
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- case "$compiler_id" in
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CLANG)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -pedantic"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wshadow"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wundef"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wshorten-64-to-32"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "101"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wunused"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "208"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wvla"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "209"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wshift-sign-overflow"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "302"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- case $host_os in
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cygwin* | mingw*)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- *)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-variable-declarations"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- esac
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "306"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "309"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wcomma"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- # avoid the varargs warning, fixed in 4.0
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- # https://bugs.llvm.org/show_bug.cgi?id=29140
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -lt "400"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-varargs"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- DEC_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -msg_enable level3"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- GNU_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" ||
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$compiler_num" -ge "300"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -pedantic"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wall -W"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "104"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wpointer-arith -Wwrite-strings"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" ||
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$compiler_num" -ge "300"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wunused -Wshadow"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "207"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Winline -Wnested-externs"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" ||
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$compiler_num" -ge "300"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-declarations"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "295"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-long-long"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wbad-function-cast"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "296"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wfloat-equal"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-multichar -Wsign-compare"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wundef"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "297"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-format-nonliteral"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "300"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "303"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wendif-labels -Wstrict-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "304"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wdeclaration-after-statement"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wold-style-definition"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "400"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wstrict-aliasing=3"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "402"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wcast-align"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "403"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wtype-limits -Wold-style-declaration"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wmissing-parameter-type -Wempty-body"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wclobbered -Wignored-qualifiers"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wconversion -Wno-sign-conversion -Wvla"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -ftree-vrp"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "405"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$curl_cv_have_def__WIN32" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-pedantic-ms-format"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "406"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wdouble-promotion"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "408"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wformat=2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "500"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Warray-bounds=2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "600"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wshift-negative-value"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wshift-overflow=2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wnull-dereference -fdelete-null-pointer-checks"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-cond"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wunused-const-variable"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "700"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wduplicated-branches"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wrestrict"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Walloc-zero"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wformat-overflow=2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wformat-truncation=2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wimplicit-fallthrough=4"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "300"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-system-headers"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" = "xyes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "104"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-unused -Wno-shadow"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "207"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-declarations"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wno-missing-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- HP_UX_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS +w1"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- IBM_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- INTEL_UNIX_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -gt "600"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wall -w2"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcheck"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wcomment"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wdeprecated"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wmissing-prototypes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wp64"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wpointer-arith"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wreturn-type"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wshadow"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wuninitialized"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CPPFLAGS="$tmp_CPPFLAGS -Wunused-function"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -fno-omit-frame-pointer"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -fno-strict-aliasing"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -fp-model precise"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "1000"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -vec-report0"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- INTEL_WINDOWS_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LCC)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- SGI_MIPS_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- SGI_MIPSPRO_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -fullwarn"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -woff 1209"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- SUNPRO_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -v"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- TINY_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wall"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wwrite-strings"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wunsupported"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- WATCOM_UNIX_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$want_warnings" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS -Wall -Wextra"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- WATCOM_WINDOWS_C)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_CFLAGS="$tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- esac
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze tmp_CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test ! -z "$tmp_CFLAGS" || test ! -z "$tmp_CPPFLAGS"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts strict warning options" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo_n "checking if compiler accepts strict warning options... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_save_CPPFLAGS $tmp_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_save_CFLAGS $tmp_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CPPFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- squeeze CFLAGS
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="unknown"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_compile "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/cc-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 1;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return i;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_link "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- sed 's/^/link-fail: /' conftest.err >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core conftest.err conftest.$ac_objext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest$ac_exeext conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "x$cross_compiling" != "xyes" &&
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- old=$LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$CURL_LIBRARY_PATH:$old
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- export LD_LIBRARY_PATH
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$cross_compiling" = yes; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-as_fn_error $? "cannot run test program while cross compiling
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-See \`config.log' for more details" "$LINENO" 5; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-/* end confdefs.h. */
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# ifdef __STDC__
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# include <stdlib.h>
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-# endif
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-int main (void)
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-{
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- int i = 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- exit(i);
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- ;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- return 0;
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-_ACEOF
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if ac_fn_c_try_run "$LINENO"; then :
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="yes"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- tmp_compiler_works="no"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo "run-fail: test program exited with status $ac_status" >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- echo " " >&6
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- LD_LIBRARY_PATH=$old # restore
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$tmp_compiler_works" = "yes"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "yes" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: compiler options added: $tmp_CFLAGS $tmp_CPPFLAGS" >&6;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- else
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "no" >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-$as_echo "$as_me: WARNING: compiler options rejected: $tmp_CFLAGS $tmp_CPPFLAGS" >&2;}
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CPPFLAGS="$tmp_save_CPPFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$tmp_save_CFLAGS"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-if test "$compiler_id" = "INTEL_UNIX_C"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- if test "$compiler_num" -ge "1000"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$CFLAGS -shared-intel"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- elif test "$compiler_num" -ge "900"; then
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- CFLAGS="$CFLAGS -i-dynamic"
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
- #
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-fi
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
-
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler halts on compilation errors" >&5
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
$as_echo_n "checking if compiler halts on compilation errors... " >&6; }
|
|
Lucio Andrés Illanes Albornoz |
db79d7 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|