Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace complex m4 builtins in configure.ac with suitable AS_TR_CPP #575

Conversation

p-montanus
Copy link
Contributor

In configure.ac, some m4 builtins are used directory.
autoconf provides 'm4_'-prefixed alias macros for m4 builtin macros, and original non 'm4_'-prefixed macros are not recommended. Equivalent AS_TR_CPP provided by autoconf is more suitable rather than complex these m4 builtins.

AS_TR_CPP first appeared in autoconf-2.50a (2001-06-26).
autoreconf-2.59 and autoreconf-2.69 with '-Wall' report no warnings.

@b4n
Copy link
Member

b4n commented Sep 26, 2015

Mostly LGTM, see small remarks above. And indeed using AS_TR_CPP is a lot less crazy :)

Preparing for following commits.
autoconf provides 'm4_'-prefixed alias macros for m4 builtin macros, and original non 'm4_'-prefixed macros are not recommended.
AS_TR_CPP first appeared in autoconf-2.50a (2001-06-26).
@p-montanus p-montanus force-pushed the fix-configure-replace-complex-m4-builtins-with-suitable branch from 696d79b to f5d8177 Compare September 27, 2015 07:32
@p-montanus
Copy link
Contributor Author

Thank you for reviewing:
p-montanus/ctags@8155804
p-montanus/ctags@a914654
p-montanus/ctags@696d79b

Revised.

@b4n
Copy link
Member

b4n commented Sep 27, 2015

LGTM, thanks :)

One remark, maybe the middle commit is not useful as all its changes are actually removed in the next one. But that's not important, it's a valid step anyway.

@p-montanus
Copy link
Contributor Author

Yes, middle commit is just informational.
It aims to put pressure on a person to do not use non 'm4_'-prefixed macros.

@b4n
Copy link
Member

b4n commented Sep 27, 2015

fair enough :]

@b4n b4n self-assigned this Sep 27, 2015
@b4n b4n merged commit f5d8177 into universal-ctags:master Sep 27, 2015
b4n added a commit that referenced this pull request Sep 27, 2015
…-m4-builtins-with-suitable

Replace complex m4 builtins in configure.ac with suitable AS_TR_CPP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants