Discussion:
[libmicrohttpd] [PATCH] Fix build issue when parent dir is an automake project dir
Tim Rühsen
2018-10-18 14:35:33 UTC
Permalink
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.

Regards, Tim
Christian Grothoff
2018-10-18 15:17:27 UTC
Permalink
Pushed as suggested in 9199e5aa..41ac9325
Post by Tim Rühsen
$ ./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.
Regards, Tim
Loading...