Skip to content

Commit

Permalink
Merge pull request universal-ctags#575 from p-montanus/fix-configure-…
Browse files Browse the repository at this point in the history
…replace-complex-m4-builtins-with-suitable

Replace complex m4 builtins in configure.ac with suitable AS_TR_CPP
  • Loading branch information
b4n committed Sep 27, 2015
2 parents a7c9460 + f5d8177 commit a5803dc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -564,12 +564,13 @@ AC_MSG_NOTICE(checking for new missing prototypes)

AC_DEFUN([CHECK_PROTO], [
AC_EGREP_HEADER([[^A-Za-z0-9_]$1([ ]+[A-Za-z0-9_]*)?[ ]*\(],
$2,
,
[$2],
[],
[
AC_MSG_NOTICE([adding prototype for $1])
AC_DEFINE(patsubst([NEED_PROTO_NAME], [NAME], translit([$1], [[a-z]], [[A-Z]])))
])])
AC_DEFINE(AS_TR_CPP([NEED_PROTO_$1]))
])
])

if test "$have_remove" = yes ; then
CHECK_PROTO(remove, stdio.h)
Expand Down

0 comments on commit a5803dc

Please sign in to comment.