diff --git a/binutils/configure b/binutils/configure index 94be22505d4..0a3540ee8d6 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 cb65e503df1..8317d1bec56 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" AM_PO_SUBDIRS diff --git a/gas/configure b/gas/configure index 9c640c870cd..8fb28d6fb64 100755 --- a/gas/configure +++ b/gas/configure @@ -13036,6 +13036,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. @@ -13199,6 +13200,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 30fa5eb13ea..293babecb8f 100644 --- a/gas/configure.ac +++ b/gas/configure.ac @@ -938,7 +938,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" AM_PO_SUBDIRS diff --git a/ld/configure b/ld/configure index 78b54b39eb2..956b8b1c415 100755 --- a/ld/configure +++ b/ld/configure @@ -18016,6 +18016,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. @@ -18179,6 +18180,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 3ee84958b1c..a8f64fe7760 100644 --- a/ld/configure.ac +++ b/ld/configure.ac @@ -407,7 +407,10 @@ ZW_GNU_GETTEXT_SISTER_DIR AC_EXEEXT AC_PROG_YACC +save_LIBS=$LIBS AM_PROG_LEX +LIBS=$save_LIBS +LEXLIB= AM_MAINTAINER_MODE AM_CONDITIONAL(GENINSRC_NEVER, false)