Skip to content

Commit

Permalink
configure.ac: Replace complex 'm4_' macros with equivalent AS_TR_CPP
Browse files Browse the repository at this point in the history
AS_TR_CPP first appeared in autoconf-2.50a (2001-06-26).
  • Loading branch information
p-montanus committed Sep 25, 2015
1 parent a914654 commit 696d79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ AC_EGREP_HEADER([[^A-Za-z0-9_]$1([ ]+[A-Za-z0-9_]*)?[ ]*\(],
[],
[
AC_MSG_NOTICE([adding prototype for $1])
AC_DEFINE(m4_bpatsubst([NEED_PROTO_NAME], [NAME], m4_translit([$1], [[a-z]], [[A-Z]])))
AC_DEFINE([NEED_PROTO_]AS_TR_CPP([$1]))

This comment has been minimized.

Copy link
@b4n

b4n Sep 26, 2015

Looks like an odd way to call it, tho it's the same (a little "optimized"). But I'd rather see AS_TR_CPP([NEED_PROTO_$1])

This comment has been minimized.

Copy link
@p-montanus

p-montanus Sep 27, 2015

Author Owner

I will fix.

])[]dnl
])

Expand Down

0 comments on commit 696d79b

Please sign in to comment.