aboutsummaryrefslogtreecommitdiff
path: root/gdb/acinclude.m4
diff options
context:
space:
mode:
authorArsen Arsenovi? <arsen@aarsen.me>2023-11-15 12:53:04 +0000
committerNick Clifton <nickc@redhat.com>2023-11-15 12:53:04 +0000
commit862776f26a59516467c98091994c3dac90383159 (patch)
treeb48da9bda94c09314c1a19ee0309126d380762f2 /gdb/acinclude.m4
parent42fb2f0b0978305e218a9493cde92447583771f1 (diff)
downloadgdb-862776f26a59516467c98091994c3dac90383159.zip
gdb-862776f26a59516467c98091994c3dac90383159.tar.gz
gdb-862776f26a59516467c98091994c3dac90383159.tar.bz2
Finalized intl-update patches
* intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. <library exemptions>: Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory.
Diffstat (limited to 'gdb/acinclude.m4')
-rw-r--r--gdb/acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/acinclude.m4 b/gdb/acinclude.m4
index 173e40b..d505fbb 100644
--- a/gdb/acinclude.m4
+++ b/gdb/acinclude.m4
@@ -235,7 +235,8 @@ AC_DEFUN([GDB_AC_CHECK_BFD], [
# always want our bfd.
CFLAGS="-I${srcdir}/../include -I../bfd -I${srcdir}/../bfd $CFLAGS"
LDFLAGS="-L../bfd -L../libiberty $LDFLAGS"
- intl=`echo $LIBINTL | sed 's,${top_builddir}/,,g'`
+ # LTLIBINTL because we use libtool as CC below.
+ intl="$(echo "$LTLIBINTL" | sed 's,\$[[{(]top_builddir[)}]]/,,')"
LIBS="-lbfd -liberty $intl $LIBS"
CC="./libtool --quiet --mode=link $CC"
AC_CACHE_CHECK(