Patchwork [1/3] autoconf: Eliminate autogen.sh warning

login
register
mail settings
Submitter Chuck Lever
Date Jan. 18, 2014, 5:26 p.m.
Message ID <20140118172639.7097.82876.stgit@seurat.1015granger.net>
Download mbox | patch
Permalink /patch/312301/
State Accepted
Headers show

Comments

Chuck Lever - Jan. 18, 2014, 5:26 p.m.
Eliminate this warning from the autogen.sh script:

    aclocal: warning: couldn't open directory 'm4': No such file or
          directory

The "m4/" directory is created by libtoolize, so run it before
running aclocal.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
---
 autogen.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/autogen.sh b/autogen.sh
index 691c419..25151c4 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -57,8 +57,8 @@  if test x"${1}" = x"clean"; then
   exit
 fi
 
-aclocal
 libtoolize --force --copy --install
+aclocal
 autoheader
 automake --add-missing --copy --gnu
 autoconf