From 864cfff6d1284b07820de236dd57295c6460f389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20R=C3=BChsen?= 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. --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index e2f9891d..27e86a57 100644 --- 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],address@hidden) +AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) AC_CONFIG_HEADERS([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) -- 2.19.1