On Thu, Jul 29, 2010 at 4:26 PM, Mike Frysinger <[email protected]> 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