Christian Kreibich wrote: > > I used to use acconfig.h. So I thouht I'd try to clean this up, have > removed acconfig.h, and updated my configure.ac accordingly. After > adding AC_CONFIG_HEADERS to configure.ac, autoheader is happy, but > automake fails with "automake requires `AM_CONFIG_HEADER', not > `AC_CONFIG_HEADER'". If I use AM_CONFIG_HEADER instead, autoheader > complains "autoheader2.50: error: AC_CONFIG_HEADERS not found in > configure.ac". > > So, how do I solve this? automake still appears to be doing its job, but > returns an error code of 1 which causes make to abort. I've tried a > number of version combinations and am now on ac 2.53 and am 1.6.2, but I > just cannot work around this. >
Make sure that your acinclude.m4 file doesn't include older versions of these macros. Earnie.