Revision 11540 : AC_CONFIG_MACRO_DIR breaks on OSX

Christian Stimming stimming at tuhh.de
Fri Nov 4 03:43:45 EST 2005


Hi,

sorry for silently introducing the AC_CONFIG_MACRO_DIR into 
configure.in. I got carried away by the current autoconf-2.59 
documentation, which of course never tells you which of their 
recommended macros are not backwards-compatible :-( . You can safely 
comment out this macro for now and add the comment that it can be 
enabled again once we have autoconf-2.59 i.e. AC_PREREQ(2.59) on all 
platforms.

Which autoconf do you have on OSX? If it's something lower than 2.59, 
then the problem is really only the autoconf version. We don't need to 
add that macro workaround in that case; we can simply conclude that we 
don't need AC_CONFIG_MACRO_DIR anyway at this point in time.

Can you please comment this out on trunk and your branch? (I don'T have 
time until next week.) That's surely better than adding yet another 
workaround.

Christian

Neil Williams schrieb:
> I've only just got svn on my OSX box and updated gnucash.
> 
> Christian's change on Wed Oct 26 appears to have broken OSX. I get:
> 
> checking whether to enable maintainer-specific portions of Makefiles... yes
> ./configure: line 5368: syntax error near unexpected token 'macros'
> ./configure: line 5368: 'AC_CONFIG_MACRO_DIR(macros)'
> 
> If nobody else sees this problem, I've got a patch that defines the macro for 
> $host_os in darwin*) which seems to run OK.
> 
> It's a snippet from:
> http://lists.gnu.org/archive/html/autoconf-patches/2003-10/msg00052.html


More information about the gnucash-devel mailing list