memcached-1.1.9-snapshot
Brion Vibber
brion@pobox.com
Mon, 11 Aug 2003 19:10:35 -0700
Evan Martin wrote:
>On Mon, 2003-08-11 at 18:40, Brion Vibber wrote:
>
>
>>$ sh ./autogen.sh
>>aclocal...
>>autoheader...
>>autoheader: error: AC_CONFIG_HEADERS not found in configure.ac
>>
>>
>
>I was encountering this, too, but I thought it was my weird setup.
>Can you try running "aclocal" manually first and then running autogen
>again?
>
Yeah, oddly enough that works.
Hmm... Let's look at that autogen.sh:
#!/bin/sh
#
# This is hacky, because there are so many damn versions
# of autoconf/automake. It works with Debian woody, at least.
#
echo "aclocal..."
$ACLOCAL || aclocal-1.7 || aclocal-1.5 || aclocal || exit 1
Waitaminute... I ain't got no ACLOCAL env variable! If I run, say:
$ $FOOBAR || echo hi || echo bob || echo foo
I get nothin'. So, it's not running aclocal at all unless you set ACLOCAL:
$ ACLOCAL=aclocal sh ./autogen.sh
-- brion vibber (brion @ pobox.com)