From 587b9f68ea6fb18059151c191b34fb224a95ec3c Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Fri, 29 Jun 2018 20:52:40 +0800 Subject: [PATCH] ct-ng bundled patch: 0004-Dont-link-to-libfl-as-its-unnecessary.patch --- binutils/configure | 3 +++ binutils/configure.ac | 3 +++ gas/configure | 3 +++ gas/configure.ac | 3 +++ ld/configure | 3 +++ ld/configure.ac | 3 +++ 6 files changed, 18 insertions(+) diff --git a/binutils/configure b/binutils/configure index 0e54d77015d..1fe17220dd7 100755 --- a/binutils/configure +++ b/binutils/configure @@ -12529,6 +12529,7 @@ fi done test -n "$YACC" || YACC="yacc" +save_LIBS=$LIBS for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -12692,6 +12693,8 @@ esac if test "$LEX" = :; then LEX=${am_missing_run}flex fi +LIBS=$save_LIBS +LEXLIB= ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW" diff --git a/binutils/configure.ac b/binutils/configure.ac index 06c88e0048c..85f0283b774 100644 --- a/binutils/configure.ac +++ b/binutils/configure.ac @@ -153,7 +153,10 @@ if test -z "$host" ; then fi AC_PROG_YACC +save_LIBS=$LIBS AM_PROG_LEX +LIBS=$save_LIBS +LEXLIB= ALL_LINGUAS="bg ca da es fi fr hr id it ja pt ro ru rw sk sr sv tr uk vi zh_CN zh_TW" ZW_GNU_GETTEXT_SISTER_DIR diff --git a/gas/configure b/gas/configure index 8f5450c0947..23a46348620 100755 --- a/gas/configure +++ b/gas/configure @@ -13052,6 +13052,7 @@ fi done test -n "$YACC" || YACC="yacc" +save_LIBS=$LIBS for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -13215,6 +13216,8 @@ esac if test "$LEX" = :; then LEX=${am_missing_run}flex fi +LIBS=$save_LIBS +LEXLIB= ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN" diff --git a/gas/configure.ac b/gas/configure.ac index 6b978aae3f7..503b1efa30c 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -958,7 +958,10 @@ AC_DEFINE_UNQUOTED(TARGET_VENDOR, "${target_vendor}", [Target vendor.]) AC_DEFINE_UNQUOTED(TARGET_OS, "${target_os}", [Target OS.]) AC_PROG_YACC +save_LIBS=$LIBS AM_PROG_LEX +LIBS=$save_LIBS +LEXLIB= ALL_LINGUAS="es fi fr id ja ru rw sv tr uk zh_CN" ZW_GNU_GETTEXT_SISTER_DIR diff --git a/ld/configure b/ld/configure index cb3bcae4d3a..a8ac35dddbc 100755 --- a/ld/configure +++ b/ld/configure @@ -18485,6 +18485,7 @@ fi done test -n "$YACC" || YACC="yacc" +save_LIBS=$LIBS for ac_prog in flex lex do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -18648,6 +18649,8 @@ esac if test "$LEX" = :; then LEX=${am_missing_run}flex fi +LIBS=$save_LIBS +LEXLIB= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 diff --git a/ld/configure.ac b/ld/configure.ac index bdf51a062fa..441133a6c05 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -384,7 +384,10 @@ AM_PO_SUBDIRS AC_EXEEXT AC_PROG_YACC +save_LIBS=$LIBS AM_PROG_LEX +LIBS=$save_LIBS +LEXLIB= AM_MAINTAINER_MODE AM_CONDITIONAL(GENINSRC_NEVER, false)