diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-08-10 06:50:34 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-08-10 06:50:34 +0000 |
commit | 58b08ac3e1fddd036d474fec887ea29b834b2273 (patch) | |
tree | 04b8551ca00883edbe9b5d35597357f71f960e3d /libstdc++-v3/po | |
parent | 396ad5177cd6efc2dd508bd44beb0197254ee029 (diff) | |
download | gcc-58b08ac3e1fddd036d474fec887ea29b834b2273.tar.gz |
acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
2001-08-09 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h (_GLIBCPP_MEM_LIMITS): Define.
* config.h.in: Regenerate.
* acinclude.m4 (GLIBCPP_CHECK_SETRLIMIT): Check for setrlimit
function.
* aclocal.m4: Regenerate.
* configure.in: Remove duplicate AM_CONFIG_HEADER.
(AM_CONFIG_HEADER): Remove testsuite/testsuite_hooks.h.
Only call GLIBCPP_CHECK_SETRLIMIT for native compiles.
* configure: Regenerate.
* testsuite_hooks.h.in: Move to...
* testsuite_hooks.h: Here, include c++config.h. Use it.
* Makefile.am (SUBDIRS): Move testsuite to last directory.
* Makefile.in: Regenerate.
* po/Makefile.am (stamp-po): Add.
From-SVN: r44752
Diffstat (limited to 'libstdc++-v3/po')
-rw-r--r-- | libstdc++-v3/po/Makefile.am | 22 | ||||
-rw-r--r-- | libstdc++-v3/po/Makefile.in | 24 |
2 files changed, 31 insertions, 15 deletions
diff --git a/libstdc++-v3/po/Makefile.am b/libstdc++-v3/po/Makefile.am index 0f26f113559..6243df9aaac 100644 --- a/libstdc++-v3/po/Makefile.am +++ b/libstdc++-v3/po/Makefile.am @@ -39,15 +39,23 @@ LOCALE_IN = @POFILES@ LOCALE_OUT = @glibcpp_MOFILES@ .po.mo: - cat=`basename $<`; \ - lang=`echo $$cat | sed 's/\.po$$//'`; \ - dir=$(locale_builddir)/$$lang/LC_MESSAGES; \ - $(mkinstalldirs) $$dir; \ - $(MSGFMT) $< -o $$dir/$(PACKAGE).mo + $(MSGFMT) $< -o $@ all-local: all-local-@USE_NLS@ all-local-no: -all-local-yes: $(LOCALE_OUT) +all-local-yes: $(LOCALE_OUT) + +# 'make check' needs the catalogs constructed in build directory. +check: + $(mkinstalldirs) $(locale_builddir) + @catalogs='$(LOCALE_OUT)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\.mo$$//'`; \ + install_dir=$(locale_builddir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $$install_dir; \ + $(INSTALL_DATA) $$cat $$install_dir/$(PACKAGE).mo; \ + done # Install rules here. # Wish install could just `cp -R ./share $(locale_installdir)` ... @@ -66,4 +74,4 @@ install-data-local-yes: all-local-yes done # Specify what gets cleaned up on a 'make clean' -CLEANFILES = $(LOCALE_OUT) +CLEANFILES = $(LOCALE_OUT) diff --git a/libstdc++-v3/po/Makefile.in b/libstdc++-v3/po/Makefile.in index 1c51fae535c..f3c1c648f13 100644 --- a/libstdc++-v3/po/Makefile.in +++ b/libstdc++-v3/po/Makefile.in @@ -163,9 +163,9 @@ LOCALE_IN = @POFILES@ LOCALE_OUT = @glibcpp_MOFILES@ # Specify what gets cleaned up on a 'make clean' -CLEANFILES = $(LOCALE_OUT) +CLEANFILES = $(LOCALE_OUT) mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs -CONFIG_HEADER = ../config.h ../config.h ../testsuite/testsuite_hooks.h +CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) @@ -273,15 +273,23 @@ mostlyclean distclean maintainer-clean .po.mo: - cat=`basename $<`; \ - lang=`echo $$cat | sed 's/\.po$$//'`; \ - dir=$(locale_builddir)/$$lang/LC_MESSAGES; \ - $(mkinstalldirs) $$dir; \ - $(MSGFMT) $< -o $$dir/$(PACKAGE).mo + $(MSGFMT) $< -o $@ all-local: all-local-@USE_NLS@ all-local-no: -all-local-yes: $(LOCALE_OUT) +all-local-yes: $(LOCALE_OUT) + +# 'make check' needs the catalogs constructed in build directory. +check: + $(mkinstalldirs) $(locale_builddir) + @catalogs='$(LOCALE_OUT)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed 's/\.mo$$//'`; \ + install_dir=$(locale_builddir)/$$lang/LC_MESSAGES; \ + $(mkinstalldirs) $$install_dir; \ + $(INSTALL_DATA) $$cat $$install_dir/$(PACKAGE).mo; \ + done # Install rules here. # Wish install could just `cp -R ./share $(locale_installdir)` ... |