diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2018-06-13 12:41:40 +0300 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2018-06-17 19:25:25 +0200 |
commit | e07e5605b3da65e07c7fe5fcf1ce3b050595d1b5 (patch) | |
tree | 41f288bca48b0ae9ac43b3b079c617e3cb7bd337 /aclocal.m4 | |
parent | f3e2607fce0c6da41eb1d9ee89b9535d4abec7be (diff) | |
download | nettle-e07e5605b3da65e07c7fe5fcf1ce3b050595d1b5.tar.gz |
Fix quoting in autoconf ifunc test
* aclocal.m4 (NETTLE_CHECK_IFUNC): fix quoting so that
AC_LINK_IFELSE/AC_TRY_LINK is defined outside of this test.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -650,7 +650,7 @@ AC_DEFUN([NETTLE_CHECK_IFUNC], [AC_REQUIRE([AC_PROG_CC]) AC_CACHE_CHECK([for ifunc support], nettle_cv_link_ifunc, - AC_LINK_IFELSE([AC_LANG_PROGRAM([ + [AC_LINK_IFELSE([AC_LANG_PROGRAM([ static int foo_imp(int x) { @@ -671,7 +671,7 @@ int foo (int x) __attribute__ ((ifunc("foo_resolv"))); ])], [nettle_cv_link_ifunc=yes], -[nettle_cv_link_ifunc=no])) +[nettle_cv_link_ifunc=no])]) AH_TEMPLATE([HAVE_LINK_IFUNC], [Define if compiler and linker supports __attribute__ ifunc]) if test "x$nettle_cv_link_ifunc" = xyes ; then AC_DEFINE(HAVE_LINK_IFUNC) |