mirror of
https://github.com/intel/isa-l.git
synced 2024-12-12 09:23:50 +01:00
Ignore obsolete warnings when using autoreconf
A few macros are declared obsolete from autoconf 2.70. In order to avoid breaking compatibility with 2.69 removing them, these warnings are ignored. Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
This commit is contained in:
parent
7e2b097f15
commit
6dc544c661
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
autoreconf --install --symlink -f
|
||||
autoreconf --install --symlink -f -Wno-obsolete
|
||||
|
||||
libdir() {
|
||||
echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
|
||||
|
@ -69,13 +69,11 @@ AS_IF([test "x$enable_debug" = "xyes"], [
|
||||
# If this build is for x86, look for yasm and nasm
|
||||
if test x"$is_x86" = x"yes"; then
|
||||
AC_MSG_CHECKING([whether Intel CET is enabled])
|
||||
AC_TRY_COMPILE([],[
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
|
||||
#ifndef __CET__
|
||||
# error CET is not enabled
|
||||
#endif],
|
||||
[AC_MSG_RESULT([yes])
|
||||
intel_cet_enabled=yes],
|
||||
[AC_MSG_RESULT([no])
|
||||
#endif]])],[AC_MSG_RESULT([yes])
|
||||
intel_cet_enabled=yes],[AC_MSG_RESULT([no])
|
||||
intel_cet_enabled=no])
|
||||
AS_IF([test "x$intel_cet_enabled" = "xyes"], [
|
||||
AC_DEFINE(INTEL_CET_ENABLED, [1], [Intel CET enabled.])
|
||||
|
Loading…
Reference in New Issue
Block a user