bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: aclocal directory not found error


From: Jack Kelly
Subject: Re: aclocal directory not found error
Date: Thu, 29 Jul 2010 18:03:30 +1000

On Thu, Jul 29, 2010 at 4:26 PM, Mike Frysinger <address@hidden> wrote:
> one example where ive hit this is with projects using git:
>  - initial clone is done
>  - local libtool is configured with AC_CONFIG_MACRO_DIR(m4) like it suggests
>  - m4/ only contains generated files, and those arent in git, and git doesnt
> keep track of empty dirs. so no m4/ exists at this point in time
>  - Makefile.am has ACLOCAL_FLAGS = -I m4 as it should
>  - initial `autoreconf` aborts due to m4/ not existing because libtoolize
> wasnt run early enough to populate m4/ with files
>
> so i could do `mkdir m4` before the `autoreconf` and forget about it, but the
> issue comes right back as soon as i do something like `git clean -x -d` (which
> i frequently do).

I also hit this snag with reasonable frequency. I usually `git add` a
file m4/.keep, since anything that actually winds up in m4/ is usually
put there by aclocal --install.

-- Jack



reply via email to

[Prev in Thread] Current Thread [Next in Thread]