* 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>
[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)
{
])],
[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)