m4_ax_check_typedef.m4 fixes

stsp <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.bugs
Message-ID <[email protected]>
Hi, I've found the m4_ax_check_typedef.m4 script here:
http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_typedef.m4

It appears to be very buggy:
- actions are ignored
- if the header is omitted, then the printout is:
"Checking for type in  ..."
even though it actually checks in stddef.h.

Attached is the fixed version of a script.
m4_ax_check_typedef.m4 (application/x-m4, 2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.