diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-06-21 20:59:55 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2013-06-21 20:59:55 (GMT) |
commit | b57f5b71e1fc1f0d8361d238db72c537fc3808cb (patch) | |
tree | 523671f4fee61b832c06e716ac5d0a45af8790de | |
parent | 1ee01a047d4b211ae6af29818a959e2870b88bf1 (diff) |
It was failing to find the m4 macros directory with automake
1.13.2. This is exactly the same autogen.sh we are using in
all the core sugar modules.
-rwxr-xr-x | autogen.sh | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1,9 +1,13 @@ #!/bin/sh -aclocal -I m4/ $ACLOCAL_FLAGS --install || exit 1 -libtoolize --copy --force || exit 1 -autoheader || exit 1 -autoconf || exit 1 -automake -a -c || exit 1 +test -n "${srcdir}" || srcdir=`dirname "$0"` +test -n "${srcdir}" || srcdir="$(pwd)" -[ "$NOCONFIGURE" ] || ./configure CFLAGS="$CFLAGS -Wall" --enable-maintainer-mode "$@" +olddir="$(pwd)" +cd "$srcdir" + +intltoolize +autoreconf -i + +cd "$olddir" +"$srcdir/configure" --enable-maintainer-mode "$@" |