diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-10-18 17:16:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-10-18 17:16:49 +0200 |
commit | 41ac932526731eb17b412ebee0797ee01ae431ec (patch) | |
tree | 806f18e21429bfa2589c9231a5efdf315927b01e | |
parent | 9199e5aa3ac29235ee0326bf6ebc70882c63c268 (diff) | |
download | libmicrohttpd-41ac932526731eb17b412ebee0797ee01ae431ec.tar.gz libmicrohttpd-41ac932526731eb17b412ebee0797ee01ae431ec.zip |
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.
---
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e2f9891d..27e86a57 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -23,6 +23,7 @@ | |||
23 | AC_PREREQ([2.64]) | 23 | AC_PREREQ([2.64]) |
24 | LT_PREREQ([2.4.0]) | 24 | LT_PREREQ([2.4.0]) |
25 | AC_INIT([GNU Libmicrohttpd],[0.9.59],[libmicrohttpd@gnu.org]) | 25 | AC_INIT([GNU Libmicrohttpd],[0.9.59],[libmicrohttpd@gnu.org]) |
26 | AC_CONFIG_AUX_DIR([build-aux]) | ||
26 | AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) | 27 | AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) |
27 | AC_CONFIG_HEADERS([MHD_config.h]) | 28 | AC_CONFIG_HEADERS([MHD_config.h]) |
28 | AC_CONFIG_MACRO_DIR([m4]) | 29 | AC_CONFIG_MACRO_DIR([m4]) |