aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-04-22 06:58:37 +0000
committerTom Tromey <tromey@redhat.com>1998-04-22 06:58:37 +0000
commit8bc8f4bc007b581031e155d4f68e39327e241d9b (patch)
tree4a6b4e5829530e8d3c7a06d849d9021899750351 /ld/configure.in
parentb65c61635f7b03c89545bd30ffb97d74be20ce1d (diff)
downloadgdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.zip
gdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.tar.gz
gdb-8bc8f4bc007b581031e155d4f68e39327e241d9b.tar.bz2
* Many files: Added gettext invocations around user-visible
strings. * ld.h: Added gettext-related includes and defines. * ldmain.c: Call setlocale, bindtextdomain, textdomain. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. Use AM_PROG_LEX. (TDIRS): AC_SUBST early on, to avoid having value split when it happens to cross line 90 of the generated sed script. * Makefile.am (SUBDIRS): New macro. (POTFILES): Likewise. (po/POTFILES.in): New target. (ld_new_LDADD): Added INTLLIBS. (ld_new_DEPENDENCIES): Added INTLDEPS. * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
Diffstat (limited to 'ld/configure.in')
-rw-r--r--ld/configure.in17
1 files changed, 14 insertions, 3 deletions
diff --git a/ld/configure.in b/ld/configure.in
index 8a27a72..b87943d 100644
--- a/ld/configure.in
+++ b/ld/configure.in
@@ -38,12 +38,15 @@ fi
AC_PROG_CC
AM_PROG_INSTALL
+
+ALL_LINGUAS=
+CY_GNU_GETTEXT
+
AM_CYGWIN32
AM_EXEEXT
AC_PROG_YACC
-AC_PROG_LEX
-AC_DECL_YYTEXT
+AM_PROG_LEX
AM_MAINTAINER_MODE
@@ -129,4 +132,12 @@ else
fi
AC_SUBST(EMULATION_OFILES)
-AC_OUTPUT(Makefile)
+if test x${enable_static} = xno; then
+ TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
+else
+ TESTBFDLIB="../bfd/.libs/libbfd.a"
+fi
+AC_SUBST(TESTBFDLIB)
+
+AC_OUTPUT(Makefile po/Makefile.in:po/Make-in,
+[sed -e '/POTFILES =/r po/POTFILES' po/Makefile.in > po/Makefile])