X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=config%2Flyxinclude25x.m4;h=7dc9f7b758cbacb72c2ab436f8377340915dc963;hb=9a600f0e3027e84d6b9be41d5521a1bd5ad340df;hp=965b84ffb5ea72ef5109d3aa874c61d82ab5051e;hpb=7a172cb177c8326275d8e37f9e218d1695f1e054;p=lyx.git diff --git a/config/lyxinclude25x.m4 b/config/lyxinclude25x.m4 index 965b84ffb5..7dc9f7b758 100644 --- a/config/lyxinclude25x.m4 +++ b/config/lyxinclude25x.m4 @@ -6,12 +6,12 @@ m4_define([LYX_AH_CHECK_DECL], dnl Check things are declared in headers to avoid errors or warnings. dnl Called like LYX_CHECK_DECL(function, header1 header2...) dnl Defines HAVE_DECL_{FUNCTION} -AC_DEFUN(LYX_CHECK_DECL, +AC_DEFUN([LYX_CHECK_DECL], [LYX_AH_CHECK_DECL($1) -for ac_header in $2 +for ac_header in $2 do AC_MSG_CHECKING([if $1 is declared by header $ac_header]) - AC_EGREP_HEADER($1, $ac_header, + AC_EGREP_HEADER($1, $ac_header, [AC_MSG_RESULT(yes) AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_DECL_$1)) break],