[jhbuild/jjardon/autotools: 4/4] autogen.sh: Create m4 directory if it doesnt exist
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild/jjardon/autotools: 4/4] autogen.sh: Create m4 directory if it doesnt exist
- Date: Mon, 28 Oct 2013 19:12:02 +0000 (UTC)
commit 7257b3993bb7a67632c5f092da2d5b2faf285525
Author: Javier Jardón <jjardon gnome org>
Date: Mon Oct 28 16:53:12 2013 +0000
autogen.sh: Create m4 directory if it doesnt exist
autogen.sh | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 22fbdf6..19a68c5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -26,6 +26,14 @@ if test -z $INTLTOOLIZE; then
exit 1
fi
+# if the AC_CONFIG_MACRO_DIR() macro is used, create that directory
+# This is a automake bug fixed in automake 1.13.2
+# See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13514
+m4dir=`autoconf --trace 'AC_CONFIG_MACRO_DIR:$1'`
+if [ -n "$m4dir" ]; then
+ mkdir -p $m4dir
+fi
+
autoreconf --force --install --verbose || exit $?
intltoolize --automake --copy || exit $?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]