Can you spot the error?

2014-03-31 Thread Philipp Thomas
I have a configure.ac as attached. If I run autoreconf -fi on this file it stops with 'configure.ac:23: error: possibly undefined macro: AC_DEFINE' but at least I see no error in that line. But if I remove the following block beginning with 'AC_ARG_WITH([resolve-neigh],' everything runs without pro

Re: Can you spot the error?

2014-03-31 Thread Eric Blake
On 03/31/2014 12:48 PM, Philipp Thomas wrote: > I have a configure.ac as attached. If I run autoreconf -fi on this file it > stops with 'configure.ac:23: error: possibly undefined macro: AC_DEFINE' > but at least I see no error in that line. But if I remove the following > block beginning with 'AC_

Re: Can you spot the error?

2014-03-31 Thread Eric Blake
On 03/31/2014 12:55 PM, Eric Blake wrote: > On 03/31/2014 12:48 PM, Philipp Thomas wrote: >> I have a configure.ac as attached. If I run autoreconf -fi on this file it >> stops with 'configure.ac:23: error: possibly undefined macro: AC_DEFINE' >> but at least I see no error in that line. But if I r

Test for native (fast) 64-bit integer type?

2014-03-31 Thread lennox
Hi -- Does anyone have any idea as to how one could write an Autoconf test to check whether long long (or int64_t, or whatever) is implemented natively, and so is likely to be fast, as opposed to being emulated by the compiler as a pair of 32-bit values? (SIZEOF_LONG == 8 || SIZEOF_VOID_P == 8) w