From cf6c232054b32ac74c33bd39e2d06f46656e4825 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Sat, 11 Aug 2012 13:22:27 -0700 Subject: [PATCH] Ensure m4/ directory exists, while automatically-added files are not included in commits. --- libguac/.gitignore | 3 ++- libguac/m4/README | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 libguac/m4/README diff --git a/libguac/.gitignore b/libguac/.gitignore index bb414c4c..614f6795 100644 --- a/libguac/.gitignore +++ b/libguac/.gitignore @@ -30,7 +30,8 @@ Makefile Makefile.in aclocal.m4 autom4te.cache/ -m4/ +m4/* +!README config.guess config.log config.status diff --git a/libguac/m4/README b/libguac/m4/README new file mode 100644 index 00000000..c9c9cbc4 --- /dev/null +++ b/libguac/m4/README @@ -0,0 +1,12 @@ +This file exists such that the m4/ directory will be created when cloning the +git repository. + +The m4/ directory is not directly used by this project, but libtoolize +populates this directory with files, recommending that the directory be +included in the macro search path for aclocal. + +Because autoreconf runs aclocal before libtoolize, this directory will not +exist when autoreconf is run, triggering an error from aclocal. + +Creating this directory (and keeping this file in it as a placeholder) +prevents this error.