From 41ac932526731eb17b412ebee0797ee01ae431ec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 18 Oct 2018 17:16:19 +0200 Subject: [PATCH] =?UTF-8?q?From:=20=3D=3FUTF-8=3Fq=3FTim=3D20R=3DC3=3DBChs?= =?UTF-8?q?en=3F=3D=20=20Date:=20Thu,=2018=20Oct=20201?= =?UTF-8?q?8=2016:21:55=20+0200=20Subject:=20[PATCH]=20Fix=20build=20issue?= =?UTF-8?q?=20when=20parent=20dir=20is=20an=20automake=20project=20dir?= 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],[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])