[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fix Autoheader for macros with parameters
From: |
Stepan Kasal |
Subject: |
fix Autoheader for macros with parameters |
Date: |
Fri, 12 Aug 2005 13:12:34 +0200 |
User-agent: |
Mutt/1.4.1i |
Hello,
in project libgsf, I noticed the following:
AH_TEMPLATE([S_ISREG], [Define S_ISREG if stat.h doesn't])
AC_DEFINE([S_ISREG(m)], [(((m) & S_IFMT) == S_IFREG)])
This is a workaround for the following bug:
With mere
AC_DEFINE([S_ISREG(m)], [(((m) & S_IFMT) == S_IFREG)],
[Define S_ISREG if stat.h doesn't])
the generated template file contains
#undef S_ISREG(m)
which config status is not able to parse.
Attached please find a proposed patch. OK to commit?
Have a nice day,
Stepan Kasal
autoconf-20050812-ah_prm.patch
Description: Text document
- fix Autoheader for macros with parameters,
Stepan Kasal <=