commit 41ac932526731eb17b412ebee0797ee01ae431ec
parent 9199e5aa3ac29235ee0326bf6ebc70882c63c268
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 18 Oct 2018 17:16:19 +0200
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
Date: Thu, 18 Oct 2018 16:21:55 +0200
Subject: [PATCH] Fix build issue when parent dir is an automake project dir
Building fails if the parent directory is an automake project dir:
$ ./bootstrap
libtoolize: putting auxiliary files in '..'.
libtoolize: copying file '../ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:61: installing '../compile'
configure.ac:67: error: required file '../config.rpath' not found
configure.ac:26: installing '../missing'
doc/examples/Makefile.am: installing '../depcomp'
autoreconf: automake failed with exit status: 1
The fix is to specify AC_CONFIG_AUX_DIR before AM_INIT_AUTOMAKE.
---
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/configure.ac b/configure.ac
@@ -23,6 +23,7 @@
AC_PREREQ([2.64])
LT_PREREQ([2.4.0])
AC_INIT([GNU Libmicrohttpd],[0.9.59],[libmicrohttpd@gnu.org])
+AC_CONFIG_AUX_DIR([build-aux])
AM_INIT_AUTOMAKE([silent-rules] [subdir-objects])
AC_CONFIG_HEADERS([MHD_config.h])
AC_CONFIG_MACRO_DIR([m4])