From fc40cbe071d8952a5de324d3cfd34ecd63ae4bac Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 6 Jun 2016 21:55:33 -0400 Subject: autoconf fixup --- configure.ac | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a4ffebea06..4e6f37f528 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,6 @@ AC_PROG_INSTALL AC_PROG_MKDIR_P AC_PROG_LEX AC_PROG_LN_S -AC_PROG_RANLIB AC_PROG_SED AC_PROG_YACC @@ -1516,7 +1515,17 @@ AC_CONFIG_FILES([ po/Makefile.in ]) -AC_OUTPUT +AC_OUTPUT([], [], [ +if test "$srcdir" != .; then + { + find "$srcdir" -name Makefile -printf '%P\n' + find "$srcdir" -name subdir.mk -printf '%P\n' + } | while read -r filename; do + mkdir -p "\$(dirname "\$filename")" + ln -srfT "$srcdir/\$filename" "\$filename" + done +fi +]) AC_MSG_RESULT([ $PACKAGE_NAME $VERSION -- cgit v1.2.3-54-g00ecf