From 4f4e53dd8517c0b2cbe36f0cf866f9f5ebe294e9 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 24 May 2004 10:50:45 +0000 Subject: [PATCH] Makefile.def (host_modules): add libcpp. ChangeLog: 2004-05-23 Paolo Bonzini * Makefile.def (host_modules): add libcpp. * Makefile.tpl: Add dependencies on and for libcpp. * Makefile.in: Regenerate. * configure.in: Add libcpp host module. * configure: Regenerate. config/ChangeLog: 2004-05-23 Paolo Bonzini * acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING): From gcc. gcc/ChangeLog: 2004-05-23 Paolo Bonzini Move libcpp to the toplevel. * Makefile.in: Remove references to libcpp files, use CPPLIBS instead of libcpp.a. Define SYMTAB_H and change hashtable.h to that. * aclocal.m4 (gcc_AC_HEADER_STDBOOL, gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. * configure: Regenerate. * config.in: Regenerate. * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. * cppcharset.c: Removed. * cpperror.c: Removed. * cppexp.c: Removed. * cppfiles.c: Removed. * cpphash.c: Removed. * cpphash.h: Removed. * cppinit.c: Removed. * cpplex.c: Removed. * cpplib.c: Removed. * cpplib.h: Removed. * cppmacro.c: Removed. * cpppch.c: Removed. * cpptrad.c: Removed. * cppucnid.h: Removed. * cppucnid.pl: Removed. * cppucnid.tab: Removed. * hashtable.c: Removed. * hashtable.h: Removed. * line-map.c: Removed. * line-map.h: Removed. * mkdeps.c: Removed. * mkdeps.h: Removed. * stringpool.h: Include symtab.h instead of hashtable.h. * tree.h: Include symtab.h instead of hashtable.h. * system.h (O_NONBLOCK, O_NOCTTY): Do not define. gcc/cp/ChangeLog: 2004-05-23 Paolo Bonzini * Make-lang.in: No need to specify $(LIBCPP). gcc/java/ChangeLog: 2004-05-23 Paolo Bonzini * Make-lang.in: Link in $(LIBCPP) instead of mkdeps.o. libcpp/ChangeLog: 2004-05-23 Paolo Bonzini Moved libcpp from the gcc subdirectory to the toplevel. * Makefile.am: New file. * Makefile.in: Regenerate. * configure.ac: New file. * configure: Regenerate. * config.in: Regenerate. * charset.c: Moved from gcc/cppcharset.c. Add note about brokenness of input charset detection. Adjust for change in name of cppucnid.h. * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. * expr.c: Moved from gcc/cppexp.c. * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. Remove #define of O_BINARY, it is in system.h. * identifiers.c: Moved from gcc/cpphash.c. * internal.h: Moved from gcc/cpphash.h. Change header guard name. All other files adjusted to match name change. * init.c: Moved from gcc/cppinit.c. (init_library) [ENABLE_NLS]: Call bindtextdomain. * lex.c: Moved from gcc/cpplex.c. * directives.c: Moved from gcc/cpplib.c. * macro.c: Moved from gcc/cppmacro.c. * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. * traditional.c: Moved from gcc/cpptrad.c. * ucnid.h: Moved from gcc/cppucnid.h. Change header guard name. * ucnid.pl: Moved from gcc/cppucnid.pl. * ucnid.tab: Moved from gcc/cppucnid.tab. Change header guard name. * symtab.c: Moved from gcc/hashtable.c. * line-map.c: Moved from gcc. Do not include intl.h. * mkdeps.c: Moved from gcc. * system.h: New file. libcpp/include/ChangeLog: 2004-05-23 Paolo Bonzini * cpplib.h: Moved from gcc. Change header guard name. * line-map.h: Moved from gcc. Change header guard name. * mkdeps.h: Moved from gcc. Change header guard name. * symtab.h: Moved from gcc/hashtable.h. Change header guard name. libcpp/po/ChangeLog: 2004-05-23 Paolo Bonzini * be.po: Extracted from gcc/po/be.po. * ca.po: Extracted from gcc/po/ca.po. * da.po: Extracted from gcc/po/da.po. * de.po: Extracted from gcc/po/de.po. * el.po: Extracted from gcc/po/el.po. * es.po: Extracted from gcc/po/es.po. * fr.po: Extracted from gcc/po/fr.po. * ja.po: Extracted from gcc/po/ja.po. * nl.po: Extracted from gcc/po/nl.po. * sv.po: Extracted from gcc/po/sv.po. * tr.po: Extracted from gcc/po/tr.po. From-SVN: r82199 --- ChangeLog | 8 + Makefile.def | 1 + Makefile.in | 327 +- Makefile.tpl | 6 +- config/ChangeLog | 5 + config/acx.m4 | 34 + configure | 119 +- configure.in | 2 +- gcc/ChangeLog | 38 + gcc/Makefile.in | 67 +- gcc/aclocal.m4 | 36 - gcc/c-ppoutput.c | 2 +- gcc/configure.ac | 18 +- gcc/cp/ChangeLog | 4 + gcc/cp/Make-lang.in | 4 +- gcc/java/ChangeLog | 4 + gcc/java/Make-lang.in | 10 +- gcc/stringpool.c | 4 +- gcc/system.h | 10 - gcc/tree.h | 2 +- libcpp/ChangeLog | 35 + libcpp/Makefile.am | 75 + libcpp/Makefile.in | 641 ++ libcpp/aclocal.m4 | 1899 +++++ gcc/cppcharset.c => libcpp/charset.c | 24 +- libcpp/config.in | 198 + libcpp/configure | 8776 ++++++++++++++++++++ libcpp/configure.ac | 96 + gcc/cpplib.c => libcpp/directives.c | 2 +- gcc/cpperror.c => libcpp/errors.c | 3 +- gcc/cppexp.c => libcpp/expr.c | 2 +- gcc/cppfiles.c => libcpp/files.c | 7 +- gcc/cpphash.c => libcpp/identifiers.c | 2 +- libcpp/include/ChangeLog | 7 + {gcc => libcpp/include}/cpplib.h | 8 +- {gcc => libcpp/include}/line-map.h | 6 +- {gcc => libcpp/include}/mkdeps.h | 6 +- gcc/hashtable.h => libcpp/include/symtab.h | 6 +- gcc/cppinit.c => libcpp/init.c | 6 +- gcc/cpphash.h => libcpp/internal.h | 12 +- gcc/cpplex.c => libcpp/lex.c | 2 +- {gcc => libcpp}/line-map.c | 1 - gcc/cppmacro.c => libcpp/macro.c | 2 +- {gcc => libcpp}/mkdeps.c | 0 gcc/cpppch.c => libcpp/pch.c | 3 +- libcpp/po/ChangeLog | 13 + libcpp/po/be.po | 776 ++ libcpp/po/ca.po | 792 ++ libcpp/po/cpplib.pot | 774 ++ libcpp/po/da.po | 911 ++ libcpp/po/de.po | 790 ++ libcpp/po/el.po | 808 ++ libcpp/po/es.po | 793 ++ libcpp/po/fr.po | 920 ++ libcpp/po/ja.po | 803 ++ libcpp/po/nl.po | 834 ++ libcpp/po/sv.po | 820 ++ libcpp/po/tr.po | 792 ++ gcc/hashtable.c => libcpp/symtab.c | 2 +- libcpp/system.h | 363 + gcc/cpptrad.c => libcpp/traditional.c | 2 +- gcc/cppucnid.h => libcpp/ucnid.h | 6 +- gcc/cppucnid.pl => libcpp/ucnid.pl | 0 gcc/cppucnid.tab => libcpp/ucnid.tab | 6 +- 64 files changed, 22497 insertions(+), 228 deletions(-) create mode 100644 libcpp/ChangeLog create mode 100644 libcpp/Makefile.am create mode 100644 libcpp/Makefile.in create mode 100644 libcpp/aclocal.m4 rename gcc/cppcharset.c => libcpp/charset.c (97%) create mode 100644 libcpp/config.in create mode 100755 libcpp/configure create mode 100644 libcpp/configure.ac rename gcc/cpplib.c => libcpp/directives.c (99%) rename gcc/cpperror.c => libcpp/errors.c (99%) rename gcc/cppexp.c => libcpp/expr.c (99%) rename gcc/cppfiles.c => libcpp/files.c (99%) rename gcc/cpphash.c => libcpp/identifiers.c (99%) create mode 100644 libcpp/include/ChangeLog rename {gcc => libcpp/include}/cpplib.h (99%) rename {gcc => libcpp/include}/line-map.h (98%) rename {gcc => libcpp/include}/mkdeps.h (97%) rename gcc/hashtable.h => libcpp/include/symtab.h (97%) rename gcc/cppinit.c => libcpp/init.c (99%) rename gcc/cpphash.h => libcpp/internal.h (99%) rename gcc/cpplex.c => libcpp/lex.c (99%) rename {gcc => libcpp}/line-map.c (99%) rename gcc/cppmacro.c => libcpp/macro.c (99%) rename {gcc => libcpp}/mkdeps.c (100%) rename gcc/cpppch.c => libcpp/pch.c (99%) create mode 100644 libcpp/po/ChangeLog create mode 100644 libcpp/po/be.po create mode 100644 libcpp/po/ca.po create mode 100644 libcpp/po/cpplib.pot create mode 100644 libcpp/po/da.po create mode 100644 libcpp/po/de.po create mode 100644 libcpp/po/el.po create mode 100644 libcpp/po/es.po create mode 100644 libcpp/po/fr.po create mode 100644 libcpp/po/ja.po create mode 100644 libcpp/po/nl.po create mode 100644 libcpp/po/sv.po create mode 100644 libcpp/po/tr.po rename gcc/hashtable.c => libcpp/symtab.c (99%) create mode 100644 libcpp/system.h rename gcc/cpptrad.c => libcpp/traditional.c (99%) rename gcc/cppucnid.h => libcpp/ucnid.h (99%) rename gcc/cppucnid.pl => libcpp/ucnid.pl (100%) rename gcc/cppucnid.tab => libcpp/ucnid.tab (98%) diff --git a/ChangeLog b/ChangeLog index 5c23ad82e4d..a02c91c67e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-05-23 Paolo Bonzini + + * Makefile.def (host_modules): add libcpp. + * Makefile.tpl: Add dependencies on and for libcpp. + * Makefile.in: Regenerate. + * configure.in: Add libcpp host module. + * configure: Regenerate. + 2004-05-21 Paolo Bonzini * Makefile.tpl: Whenever a recursive target is defined, wrap diff --git a/Makefile.def b/Makefile.def index fa51090d020..788d3b04183 100644 --- a/Makefile.def +++ b/Makefile.def @@ -59,6 +59,7 @@ host_modules= { module= tcl; missing=mostlyclean; }; host_modules= { module= itcl; }; host_modules= { module= ld; bootstrap=true; }; +host_modules= { module= libcpp; bootstrap=true; }; host_modules= { module= libgui; }; host_modules= { module= libbanshee; bootstrap=true; no_install=true; }; host_modules= { module= libiberty; bootstrap=true; }; diff --git a/Makefile.in b/Makefile.in index ecd94f0582f..0b21184f760 100644 --- a/Makefile.in +++ b/Makefile.in @@ -573,6 +573,7 @@ configure-host: maybe-configure-gcc \ maybe-configure-tcl \ maybe-configure-itcl \ maybe-configure-ld \ + maybe-configure-libcpp \ maybe-configure-libgui \ maybe-configure-libbanshee \ maybe-configure-libiberty \ @@ -665,6 +666,7 @@ all-host: maybe-all-gcc \ maybe-all-tcl \ maybe-all-itcl \ maybe-all-ld \ + maybe-all-libcpp \ maybe-all-libgui \ maybe-all-libbanshee \ maybe-all-libiberty \ @@ -761,6 +763,7 @@ info-host: maybe-info-gcc \ maybe-info-tcl \ maybe-info-itcl \ maybe-info-ld \ + maybe-info-libcpp \ maybe-info-libgui \ maybe-info-libbanshee \ maybe-info-libiberty \ @@ -853,6 +856,7 @@ dvi-host: maybe-dvi-gcc \ maybe-dvi-tcl \ maybe-dvi-itcl \ maybe-dvi-ld \ + maybe-dvi-libcpp \ maybe-dvi-libgui \ maybe-dvi-libbanshee \ maybe-dvi-libiberty \ @@ -945,6 +949,7 @@ TAGS-host: maybe-TAGS-gcc \ maybe-TAGS-tcl \ maybe-TAGS-itcl \ maybe-TAGS-ld \ + maybe-TAGS-libcpp \ maybe-TAGS-libgui \ maybe-TAGS-libbanshee \ maybe-TAGS-libiberty \ @@ -1037,6 +1042,7 @@ install-info-host: maybe-install-info-gcc \ maybe-install-info-tcl \ maybe-install-info-itcl \ maybe-install-info-ld \ + maybe-install-info-libcpp \ maybe-install-info-libgui \ maybe-install-info-libbanshee \ maybe-install-info-libiberty \ @@ -1129,6 +1135,7 @@ installcheck-host: maybe-installcheck-gcc \ maybe-installcheck-tcl \ maybe-installcheck-itcl \ maybe-installcheck-ld \ + maybe-installcheck-libcpp \ maybe-installcheck-libgui \ maybe-installcheck-libbanshee \ maybe-installcheck-libiberty \ @@ -1221,6 +1228,7 @@ mostlyclean-host: maybe-mostlyclean-gcc \ maybe-mostlyclean-tcl \ maybe-mostlyclean-itcl \ maybe-mostlyclean-ld \ + maybe-mostlyclean-libcpp \ maybe-mostlyclean-libgui \ maybe-mostlyclean-libbanshee \ maybe-mostlyclean-libiberty \ @@ -1313,6 +1321,7 @@ clean-host: maybe-clean-gcc \ maybe-clean-tcl \ maybe-clean-itcl \ maybe-clean-ld \ + maybe-clean-libcpp \ maybe-clean-libgui \ maybe-clean-libbanshee \ maybe-clean-libiberty \ @@ -1405,6 +1414,7 @@ distclean-host: maybe-distclean-gcc \ maybe-distclean-tcl \ maybe-distclean-itcl \ maybe-distclean-ld \ + maybe-distclean-libcpp \ maybe-distclean-libgui \ maybe-distclean-libbanshee \ maybe-distclean-libiberty \ @@ -1497,6 +1507,7 @@ maintainer-clean-host: maybe-maintainer-clean-gcc \ maybe-maintainer-clean-tcl \ maybe-maintainer-clean-itcl \ maybe-maintainer-clean-ld \ + maybe-maintainer-clean-libcpp \ maybe-maintainer-clean-libgui \ maybe-maintainer-clean-libbanshee \ maybe-maintainer-clean-libiberty \ @@ -1646,6 +1657,7 @@ do-check: maybe-check-gcc \ maybe-check-tcl \ maybe-check-itcl \ maybe-check-ld \ + maybe-check-libcpp \ maybe-check-libgui \ maybe-check-libbanshee \ maybe-check-libiberty \ @@ -1758,6 +1770,7 @@ install-host-nogcc: \ maybe-install-tcl \ maybe-install-itcl \ maybe-install-ld \ + maybe-install-libcpp \ maybe-install-libgui \ maybe-install-libbanshee \ maybe-install-libiberty \ @@ -1826,6 +1839,7 @@ install-host: maybe-install-gcc \ maybe-install-tcl \ maybe-install-itcl \ maybe-install-ld \ + maybe-install-libcpp \ maybe-install-libgui \ maybe-install-libbanshee \ maybe-install-libiberty \ @@ -11542,6 +11556,311 @@ maintainer-clean-ld: @endif ld +.PHONY: configure-libcpp maybe-configure-libcpp +maybe-configure-libcpp: +@if libcpp +maybe-configure-libcpp: configure-libcpp +configure-libcpp: + @test ! -f libcpp/Makefile || exit 0; \ + [ -d libcpp ] || mkdir libcpp; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + CC="$(CC)"; export CC; \ + CFLAGS="$(CFLAGS)"; export CFLAGS; \ + CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ + CXX="$(CXX)"; export CXX; \ + CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \ + AR="$(AR)"; export AR; \ + AS="$(AS)"; export AS; \ + CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \ + DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \ + LD="$(LD)"; export LD; \ + LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \ + NM="$(NM)"; export NM; \ + RANLIB="$(RANLIB)"; export RANLIB; \ + WINDRES="$(WINDRES)"; export WINDRES; \ + OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \ + OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \ + echo Configuring in libcpp; \ + cd libcpp || exit 1; \ + case $(srcdir) in \ + \.) \ + srcdiroption="--srcdir=."; \ + libsrcdir=".";; \ + /* | [A-Za-z]:[\\/]*) \ + srcdiroption="--srcdir=$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + *) \ + srcdiroption="--srcdir=../$(srcdir)/libcpp"; \ + libsrcdir="$$s/libcpp";; \ + esac; \ + $(SHELL) $${libsrcdir}/configure \ + $(HOST_CONFIGARGS) $${srcdiroption} \ + || exit 1 +@endif libcpp + +.PHONY: all-libcpp maybe-all-libcpp +maybe-all-libcpp: +@if libcpp +maybe-all-libcpp: all-libcpp +all-libcpp: configure-libcpp + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all) +@endif libcpp + +.PHONY: check-libcpp maybe-check-libcpp +maybe-check-libcpp: +@if libcpp +maybe-check-libcpp: check-libcpp + +check-libcpp: + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check) + +@endif libcpp + +.PHONY: install-libcpp maybe-install-libcpp +maybe-install-libcpp: +@if libcpp +maybe-install-libcpp: install-libcpp + +install-libcpp: installdirs + @r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install) + +@endif libcpp + +# Other targets (info, dvi, etc.) + +.PHONY: maybe-info-libcpp info-libcpp +maybe-info-libcpp: +@if libcpp +maybe-info-libcpp: info-libcpp + +info-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing info in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + info) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-dvi-libcpp dvi-libcpp +maybe-dvi-libcpp: +@if libcpp +maybe-dvi-libcpp: dvi-libcpp + +dvi-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing dvi in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + dvi) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-TAGS-libcpp TAGS-libcpp +maybe-TAGS-libcpp: +@if libcpp +maybe-TAGS-libcpp: TAGS-libcpp + +TAGS-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing TAGS in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + TAGS) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-install-info-libcpp install-info-libcpp +maybe-install-info-libcpp: +@if libcpp +maybe-install-info-libcpp: install-info-libcpp + +install-info-libcpp: \ + configure-libcpp \ + info-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing install-info in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + install-info) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-installcheck-libcpp installcheck-libcpp +maybe-installcheck-libcpp: +@if libcpp +maybe-installcheck-libcpp: installcheck-libcpp + +installcheck-libcpp: \ + configure-libcpp + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing installcheck in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + installcheck) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp +maybe-mostlyclean-libcpp: +@if libcpp +maybe-mostlyclean-libcpp: mostlyclean-libcpp + +mostlyclean-libcpp: + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing mostlyclean in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + mostlyclean) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-clean-libcpp clean-libcpp +maybe-clean-libcpp: +@if libcpp +maybe-clean-libcpp: clean-libcpp + +clean-libcpp: + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing clean in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + clean) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-distclean-libcpp distclean-libcpp +maybe-distclean-libcpp: +@if libcpp +maybe-distclean-libcpp: distclean-libcpp + +distclean-libcpp: + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing distclean in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + distclean) \ + || exit 1 + +@endif libcpp + +.PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp +maybe-maintainer-clean-libcpp: +@if libcpp +maybe-maintainer-clean-libcpp: maintainer-clean-libcpp + +maintainer-clean-libcpp: + @[ -f ./libcpp/Makefile ] || exit 0; \ + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(SET_LIB_PATH) \ + for flag in $(EXTRA_HOST_FLAGS); do \ + eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \ + done; \ + echo "Doing maintainer-clean in libcpp" ; \ + (cd libcpp && \ + $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \ + "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \ + "RANLIB=$${RANLIB}" \ + "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \ + maintainer-clean) \ + || exit 1 + +@endif libcpp + + .PHONY: configure-libgui maybe-configure-libgui maybe-configure-libgui: @if libgui @@ -28287,11 +28606,13 @@ new-restage3: all-stage2-gcc # GCC needs to identify certain tools. # GCC also needs the information exported by the intl configure script. configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex -all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee +all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee maybe-all-libcpp +configure-libcpp: maybe-configure-libiberty maybe-configure-intl +all-libcpp: maybe-all-libiberty maybe-all-intl # This is a slightly kludgy method of getting dependencies on # all-build-libiberty correct; it would be better to build it every time. -all-gcc: maybe-all-build-libiberty maybe-all-libbanshee -all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib +all-gcc: maybe-all-build-libiberty +all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libcpp maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib # Host modules specific to gdb. # GDB needs to know that the simulator is being built. diff --git a/Makefile.tpl b/Makefile.tpl index 6e946098dcd..ec54c67bbd9 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1660,10 +1660,12 @@ new-restage3: all-stage2-gcc # GCC needs to identify certain tools. # GCC also needs the information exported by the intl configure script. configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex -all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee +all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee maybe-all-libcpp +configure-libcpp: maybe-configure-libiberty maybe-configure-intl +all-libcpp: maybe-all-libiberty maybe-all-intl # This is a slightly kludgy method of getting dependencies on # all-build-libiberty correct; it would be better to build it every time. -all-gcc: maybe-all-build-libiberty maybe-all-libbanshee +all-gcc: maybe-all-build-libiberty all-bootstrap: [+ FOR host_modules +][+ IF bootstrap +]maybe-all-[+module+] [+ ENDIF bootstrap +][+ ENDFOR host_modules +] # Host modules specific to gdb. diff --git a/config/ChangeLog b/config/ChangeLog index fe845783b5c..5f4adecc62e 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2004-05-23 Paolo Bonzini + + * acx.m4 (ACX_HEADER_STDBOOL, ACX_HEADER_STRING): + From gcc. + 2004-04-16 Rainer Orth * acx.m4 (ACX_PROG_GNAT): Check if ${CC} produces object file for diff --git a/config/acx.m4 b/config/acx.m4 index 3652836bb8d..b96d688bde3 100644 --- a/config/acx.m4 +++ b/config/acx.m4 @@ -224,3 +224,37 @@ AC_DEFUN([ACX_PROG_CMP_IGNORE_INITIAL], do_compare="$gcc_cv_prog_cmp_skip" AC_SUBST(do_compare) ]) + +dnl See whether we can include both string.h and strings.h. +AC_DEFUN([ACX_HEADER_STRING], +[AC_CACHE_CHECK([whether string.h and strings.h may both be included], + gcc_cv_header_string, +[AC_TRY_COMPILE([#include +#include ], , gcc_cv_header_string=yes, gcc_cv_header_string=no)]) +if test $gcc_cv_header_string = yes; then + AC_DEFINE(STRING_WITH_STRINGS, 1, [Define if you can safely include both and .]) +fi +]) + +dnl See if stdbool.h properly defines bool and true/false. +dnl Check whether _Bool is built-in. +AC_DEFUN([ACX_HEADER_STDBOOL], +[AC_CACHE_CHECK([for working stdbool.h], + ac_cv_header_stdbool_h, +[AC_TRY_COMPILE([#include ], +[bool foo = false;], +ac_cv_header_stdbool_h=yes, ac_cv_header_stdbool_h=no)]) +if test $ac_cv_header_stdbool_h = yes; then + AC_DEFINE(HAVE_STDBOOL_H, 1, + [Define if you have a working header file.]) +fi +AC_CACHE_CHECK(for built-in _Bool, gcc_cv_c__bool, +[AC_TRY_COMPILE(, +[_Bool foo;], +gcc_cv_c__bool=yes, gcc_cv_c__bool=no) +]) +if test $gcc_cv_c__bool = yes; then + AC_DEFINE(HAVE__BOOL, 1, [Define if the \`_Bool' type is built-in.]) +fi +]) + diff --git a/configure b/configure index fe595163a52..1aea0cf9ee9 100755 --- a/configure +++ b/configure @@ -788,6 +788,11 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + + + + + ### we might need to use some other shell than /bin/sh for running subshells ### If we are on Windows, search for the shell. This will permit people ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure @@ -886,7 +891,7 @@ fi # these libraries are used by various programs built for the host environment # -host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl tix libgui zlib libbanshee" +host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl tix libgui zlib libbanshee libcpp" # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to @@ -1894,7 +1899,7 @@ fi # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1898: checking for $ac_word" >&5 +echo "configure:1903: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1924,7 +1929,7 @@ if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1928: checking for $ac_word" >&5 +echo "configure:1933: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1975,7 +1980,7 @@ fi # Extract the first word of "cl", so it can be a program name with args. set dummy cl; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1979: checking for $ac_word" >&5 +echo "configure:1984: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2007,7 +2012,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:2011: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:2016: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -2018,12 +2023,12 @@ cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext << EOF -#line 2022 "configure" +#line 2027 "configure" #include "confdefs.h" main(){return(0);} EOF -if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -2049,12 +2054,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:2053: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:2058: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:2058: checking whether we are using GNU C" >&5 +echo "configure:2063: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2063,7 +2068,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -2082,7 +2087,7 @@ ac_test_CFLAGS="${CFLAGS+set}" ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:2086: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:2091: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2118,7 +2123,7 @@ fi # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args. set dummy ${ac_tool_prefix}gnatbind; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2122: checking for $ac_word" >&5 +echo "configure:2127: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2150,7 +2155,7 @@ if test -n "$ac_tool_prefix"; then # Extract the first word of "gnatbind", so it can be a program name with args. set dummy gnatbind; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2154: checking for $ac_word" >&5 +echo "configure:2159: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2183,7 +2188,7 @@ fi fi echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6 -echo "configure:2187: checking whether compiler driver understands Ada" >&5 +echo "configure:2192: checking whether compiler driver understands Ada" >&5 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2216,7 +2221,7 @@ else fi echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6 -echo "configure:2220: checking how to compare bootstrapped objects" >&5 +echo "configure:2225: checking how to compare bootstrapped objects" >&5 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2289,9 +2294,9 @@ saved_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $gmpinc" # Check GMP actually works echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6 -echo "configure:2293: checking for correct version of gmp.h" >&5 +echo "configure:2298: checking for correct version of gmp.h" >&5 cat > conftest.$ac_ext <&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:2311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -2315,19 +2320,19 @@ rm -f conftest* if test x"$have_gmp" = xyes; then echo $ac_n "checking for mpf_init in -lgmp""... $ac_c" 1>&6 -echo "configure:2319: checking for mpf_init in -lgmp" >&5 +echo "configure:2324: checking for mpf_init in -lgmp" >&5 saved_LIBS="$LIBS" LIBS="$LIBS $gmplibs" cat > conftest.$ac_ext < int main() { mpf_t n; mpf_init(n); ; return 0; } EOF -if { (eval echo configure:2331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:2336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* echo "$ac_t""yes" 1>&6 else @@ -2789,7 +2794,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2793: checking for $ac_word" >&5 +echo "configure:2798: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEFAULT_YACC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2824,7 +2829,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2828: checking for $ac_word" >&5 +echo "configure:2833: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEFAULT_M4'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -2859,7 +2864,7 @@ do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:2863: checking for $ac_word" >&5 +echo "configure:2868: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DEFAULT_LEX'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3434,7 +3439,7 @@ test -n "$target_alias" && ncn_target_tool_prefix=$target_alias- # Extract the first word of "${ncn_tool_prefix}ar", so it can be a program name with args. set dummy ${ncn_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3438: checking for $ac_word" >&5 +echo "configure:3443: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3467,7 +3472,7 @@ if test -z "$ac_cv_prog_AR" ; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3471: checking for $ac_word" >&5 +echo "configure:3476: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AR'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3506,7 +3511,7 @@ fi # Extract the first word of "${ncn_tool_prefix}as", so it can be a program name with args. set dummy ${ncn_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3510: checking for $ac_word" >&5 +echo "configure:3515: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3539,7 +3544,7 @@ if test -z "$ac_cv_prog_AS" ; then # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3543: checking for $ac_word" >&5 +echo "configure:3548: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_AS'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3578,7 +3583,7 @@ fi # Extract the first word of "${ncn_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ncn_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3582: checking for $ac_word" >&5 +echo "configure:3587: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3611,7 +3616,7 @@ if test -z "$ac_cv_prog_DLLTOOL" ; then # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3615: checking for $ac_word" >&5 +echo "configure:3620: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_DLLTOOL'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3650,7 +3655,7 @@ fi # Extract the first word of "${ncn_tool_prefix}ld", so it can be a program name with args. set dummy ${ncn_tool_prefix}ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3654: checking for $ac_word" >&5 +echo "configure:3659: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3683,7 +3688,7 @@ if test -z "$ac_cv_prog_LD" ; then # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3687: checking for $ac_word" >&5 +echo "configure:3692: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_LD'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3722,7 +3727,7 @@ fi # Extract the first word of "${ncn_tool_prefix}nm", so it can be a program name with args. set dummy ${ncn_tool_prefix}nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3726: checking for $ac_word" >&5 +echo "configure:3731: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3755,7 +3760,7 @@ if test -z "$ac_cv_prog_NM" ; then # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3759: checking for $ac_word" >&5 +echo "configure:3764: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_NM'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3794,7 +3799,7 @@ fi # Extract the first word of "${ncn_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ncn_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3798: checking for $ac_word" >&5 +echo "configure:3803: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3827,7 +3832,7 @@ if test -z "$ac_cv_prog_RANLIB" ; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3831: checking for $ac_word" >&5 +echo "configure:3836: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3866,7 +3871,7 @@ fi # Extract the first word of "${ncn_tool_prefix}windres", so it can be a program name with args. set dummy ${ncn_tool_prefix}windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3870: checking for $ac_word" >&5 +echo "configure:3875: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3899,7 +3904,7 @@ if test -z "$ac_cv_prog_WINDRES" ; then # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3903: checking for $ac_word" >&5 +echo "configure:3908: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_WINDRES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3938,7 +3943,7 @@ fi # Extract the first word of "${ncn_tool_prefix}objcopy", so it can be a program name with args. set dummy ${ncn_tool_prefix}objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3942: checking for $ac_word" >&5 +echo "configure:3947: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3971,7 +3976,7 @@ if test -z "$ac_cv_prog_OBJCOPY" ; then # Extract the first word of "objcopy", so it can be a program name with args. set dummy objcopy; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:3975: checking for $ac_word" >&5 +echo "configure:3980: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJCOPY'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4010,7 +4015,7 @@ fi # Extract the first word of "${ncn_tool_prefix}objdump", so it can be a program name with args. set dummy ${ncn_tool_prefix}objdump; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4014: checking for $ac_word" >&5 +echo "configure:4019: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4043,7 +4048,7 @@ if test -z "$ac_cv_prog_OBJDUMP" ; then # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4047: checking for $ac_word" >&5 +echo "configure:4052: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_OBJDUMP'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4092,7 +4097,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ar", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4096: checking for $ac_word" >&5 +echo "configure:4101: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4125,7 +4130,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AR_FOR_TARGET" ; then # Extract the first word of "ar", so it can be a program name with args. set dummy ar; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4129: checking for $ac_word" >&5 +echo "configure:4134: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AR_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4164,7 +4169,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}as", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4168: checking for $ac_word" >&5 +echo "configure:4173: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4197,7 +4202,7 @@ if test -z "$ac_cv_prog_CONFIGURED_AS_FOR_TARGET" ; then # Extract the first word of "as", so it can be a program name with args. set dummy as; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4201: checking for $ac_word" >&5 +echo "configure:4206: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_AS_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4236,7 +4241,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4240: checking for $ac_word" >&5 +echo "configure:4245: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4269,7 +4274,7 @@ if test -z "$ac_cv_prog_CONFIGURED_DLLTOOL_FOR_TARGET" ; then # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4273: checking for $ac_word" >&5 +echo "configure:4278: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4308,7 +4313,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ld", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4312: checking for $ac_word" >&5 +echo "configure:4317: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4341,7 +4346,7 @@ if test -z "$ac_cv_prog_CONFIGURED_LD_FOR_TARGET" ; then # Extract the first word of "ld", so it can be a program name with args. set dummy ld; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4345: checking for $ac_word" >&5 +echo "configure:4350: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_LD_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4380,7 +4385,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}nm", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4384: checking for $ac_word" >&5 +echo "configure:4389: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4413,7 +4418,7 @@ if test -z "$ac_cv_prog_CONFIGURED_NM_FOR_TARGET" ; then # Extract the first word of "nm", so it can be a program name with args. set dummy nm; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4417: checking for $ac_word" >&5 +echo "configure:4422: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_NM_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4452,7 +4457,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4456: checking for $ac_word" >&5 +echo "configure:4461: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4485,7 +4490,7 @@ if test -z "$ac_cv_prog_CONFIGURED_RANLIB_FOR_TARGET" ; then # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4489: checking for $ac_word" >&5 +echo "configure:4494: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_RANLIB_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4524,7 +4529,7 @@ fi # Extract the first word of "${ncn_target_tool_prefix}windres", so it can be a program name with args. set dummy ${ncn_target_tool_prefix}windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4528: checking for $ac_word" >&5 +echo "configure:4533: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4557,7 +4562,7 @@ if test -z "$ac_cv_prog_CONFIGURED_WINDRES_FOR_TARGET" ; then # Extract the first word of "windres", so it can be a program name with args. set dummy windres; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:4561: checking for $ac_word" >&5 +echo "configure:4566: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_ncn_cv_CONFIGURED_WINDRES_FOR_TARGET'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4642,7 +4647,7 @@ RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target} NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target} echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -echo "configure:4646: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo "configure:4651: checking whether to enable maintainer-specific portions of Makefiles" >&5 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval="$enable_maintainer_mode" diff --git a/configure.in b/configure.in index c27fc128521..c4c7fad5d54 100644 --- a/configure.in +++ b/configure.in @@ -126,7 +126,7 @@ fi # these libraries are used by various programs built for the host environment # -host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl tix libgui zlib libbanshee" +host_libs="intl mmalloc libiberty opcodes bfd readline tcl tk itcl tix libgui zlib libbanshee libcpp" # these tools are built for the host environment # Note, the powerpc-eabi build depends on sim occurring before gdb in order to diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1d6b2b7702..7d5ddfbc8fc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,41 @@ +2004-05-23 Paolo Bonzini + + Move libcpp to the toplevel. + * Makefile.in: Remove references to libcpp files, + use CPPLIBS instead of libcpp.a. Define SYMTAB_H + and change hashtable.h to that. + * aclocal.m4 (gcc_AC_HEADER_STDBOOL, + gcc_AC_HEADER_STRING, gcc_AC_C__BOOL): Remove. + * configure.ac (gcc_AC_C__BOOL, HAVE_UCHAR): Remove tests. + * configure: Regenerate. + * config.in: Regenerate. + * c-ppoutput.c: Include ../libcpp/internal.h instead of cpphash.h. + * cppcharset.c: Removed. + * cpperror.c: Removed. + * cppexp.c: Removed. + * cppfiles.c: Removed. + * cpphash.c: Removed. + * cpphash.h: Removed. + * cppinit.c: Removed. + * cpplex.c: Removed. + * cpplib.c: Removed. + * cpplib.h: Removed. + * cppmacro.c: Removed. + * cpppch.c: Removed. + * cpptrad.c: Removed. + * cppucnid.h: Removed. + * cppucnid.pl: Removed. + * cppucnid.tab: Removed. + * hashtable.c: Removed. + * hashtable.h: Removed. + * line-map.c: Removed. + * line-map.h: Removed. + * mkdeps.c: Removed. + * mkdeps.h: Removed. + * stringpool.h: Include symtab.h instead of hashtable.h. + * tree.h: Include symtab.h instead of hashtable.h. + * system.h (O_NONBLOCK, O_NOCTTY): Do not define. + 2004-05-23 Paolo Bonzini * gcc.c (struct prefix_list): Add forward declaration. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index de890c2c586..c39920d04da 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -284,6 +284,10 @@ GMPINC = @GMPINC@ BANSHEELIB = @BANSHEELIB@ BANSHEEINC = @BANSHEEINC@ + +CPPLIBS = ../libcpp/libcpp.a +CPPINC = -I$(srcdir)/../libcpp/include + # Substitution type for target's getgroups 2nd arg. TARGET_GETGROUPS_T = @TARGET_GETGROUPS_T@ @@ -699,7 +703,9 @@ C_COMMON_H = c-common.h $(SPLAY_TREE_H) $(CPPLIB_H) C_TREE_H = c-tree.h $(C_COMMON_H) SYSTEM_H = system.h hwint.h $(srcdir)/../include/libiberty.h PREDICT_H = predict.h predict.def -CPPLIB_H = cpplib.h line-map.h +CPPLIB_H = $(srcdir)/../libcpp/include/cpplib.h \ + $(srcdir)/../libcpp/include/line-map.h +SYMTAB_H = $(srcdir)/../libcpp/include/symtab.h TREE_DUMP_H = tree-dump.h $(SPLAY_TREE_H) TREE_GIMPLE_H = tree-gimple.h tree-iterator.h TREE_FLOW_H = tree-flow.h tree-flow-inline.h tree-ssa-operands.h \ @@ -731,7 +737,7 @@ LIBIBERTY = ../libiberty/libiberty.a BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a # Dependencies on the intl and portability libraries. -LIBDEPS= $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) libcpp.a $(BANSHEELIB) +LIBDEPS= $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(CPPLIB) $(BANSHEELIB) # Likewise, for use in the tools that must run on this machine # even if we are cross-building GCC. @@ -739,7 +745,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY) # How to link with both our special library facilities # and the system's installed libraries. -LIBS = @LIBS@ libcpp.a $(LIBIBERTY) $(LIBINTL) $(LIBICONV) $(BANSHEELIB) +LIBS = @LIBS@ $(LIBIBERTY) $(LIBINTL) $(LIBICONV) $(CPPLIB) $(BANSHEELIB) # Any system libraries needed just for GNAT. SYSLIBS = @GNAT_LIBEXC@ @@ -769,7 +775,7 @@ BUILD_VARRAY = $(BUILD_PREFIX)varray.o # libintl.h will be found in ../intl if we are using the included libintl. INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \ -I$(srcdir)/../include @INCINTL@ \ - $(BANSHEEINC) $(GMPINC) + $(CPPINC) $(BANSHEEINC) $(GMPINC) .c.o: $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION) @@ -898,14 +904,14 @@ OBJS-common = \ rtl-profile.o tree-profile.o OBJS-md = $(out_object_file) -OBJS-archive = $(EXTRA_OBJS) $(host_hook_obj) hashtable.o tree-inline.o \ +OBJS-archive = $(EXTRA_OBJS) $(host_hook_obj) tree-inline.o \ cgraph.o cgraphunit.o tree-nomudflap.o OBJS = $(OBJS-common) $(out_object_file) $(OBJS-archive) OBJS-onestep = libbackend.o $(OBJS-archive) -BACKEND = main.o @TREEBROWSER@ libbackend.a +BACKEND = main.o @TREEBROWSER@ libbackend.a $(CPPLIBS) # Files to be copied away after each stage in building. STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ @@ -927,7 +933,7 @@ STAGESTUFF = *$(objext) insn-flags.h insn-config.h insn-codes.h \ protoize$(exeext) unprotoize$(exeext) \ $(SPECS) collect2$(exeext) \ gcov-iov$(build_exeext) gcov$(exeext) gcov-dump$(exeext) \ - *.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk \ + *.[0-9][0-9].* *.[si] libbackend.a libgcc.mk \ $(LANG_STAGESTUFF) # Defined in libgcc2.c, included only in the static library. @@ -1121,7 +1127,7 @@ rest.cross: $(LIBGCC) specs # This is used only if the user explicitly asks for it. compilations: $(BACKEND) -# Like libcpp.a, this archive is strictly for the host. +# This archive is strictly for the host. libbackend.a: $(OBJS@onestep@) -rm -rf libbackend.a $(AR) $(AR_FLAGS) libbackend.a $(OBJS@onestep@) @@ -1351,7 +1357,7 @@ c-lex.o : c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ c-pragma.h input.h intl.h flags.h toplev.h output.h \ $(CPPLIB_H) $(EXPR_H) $(TM_P_H) c-ppoutput.o : c-ppoutput.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ - $(C_COMMON_H) $(TREE_H) $(CPPLIB_H) cpphash.h $(TM_P_H) c-pragma.h + $(C_COMMON_H) $(TREE_H) $(CPPLIB_H) $(srcdir)/../libcpp/internal.h $(TM_P_H) c-pragma.h c-objc-common.o : c-objc-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \ $(C_TREE_H) $(RTL_H) insn-config.h $(INTEGRATE_H) $(EXPR_H) $(C_TREE_H) \ flags.h toplev.h tree-inline.h $(DIAGNOSTIC_H) $(VARRAY_H) \ @@ -2258,10 +2264,11 @@ s-preds: genpreds$(build_exeext) $(SHELL) $(srcdir)/../move-if-change tmp-preds.h tm-preds.h $(STAMP) s-preds -GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h $(srcdir)/cpplib.h \ - $(host_xm_file_list) $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) \ - $(srcdir)/bitmap.h $(srcdir)/coverage.c $(srcdir)/function.h $(srcdir)/rtl.h \ - $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/libfuncs.h $(srcdir)/hashtable.h \ +GTFILES = $(srcdir)/input.h $(srcdir)/coretypes.h \ + $(srcdir)/../libcpp/include/cpplib.h $(host_xm_file_list) \ + $(tm_file_list) $(HASHTAB_H) $(SPLAY_TREE_H) $(srcdir)/bitmap.h \ + $(srcdir)/coverage.c $(srcdir)/function.h $(srcdir)/rtl.h \ + $(srcdir)/optabs.h $(srcdir)/tree.h $(srcdir)/libfuncs.h $(SYMTAB_H) \ $(srcdir)/real.h $(srcdir)/varray.h $(srcdir)/insn-addr.h $(srcdir)/hwint.h \ $(srcdir)/cselib.h $(srcdir)/basic-block.h $(srcdir)/cgraph.h \ $(srcdir)/c-common.h $(srcdir)/c-tree.h $(srcdir)/reload.h \ @@ -2550,42 +2557,12 @@ PREPROCESSOR_DEFINES = \ -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\" \ @TARGET_SYSTEM_ROOT_DEFINE@ -LIBCPP_OBJS = cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o \ - cpphash.o cpperror.o cppinit.o cppcharset.o \ - hashtable.o line-map.o mkdeps.o cpppch.o - -LIBCPP_DEPS = $(CPPLIB_H) cpphash.h line-map.h hashtable.h intl.h \ - $(OBSTACK_H) $(CONFIG_H) $(SYSTEM_H) - -# Most of the other archives built/used by this makefile are for -# targets. This one is strictly for the host. -libcpp.a: $(LIBCPP_OBJS) - -rm -rf libcpp.a - $(AR) $(AR_FLAGS) libcpp.a $(LIBCPP_OBJS) - -$(RANLIB) libcpp.a - -cppcharset.o: cppcharset.c $(LIBCPP_DEPS) cppucnid.h -cpperror.o: cpperror.c $(LIBCPP_DEPS) -cppexp.o: cppexp.c $(LIBCPP_DEPS) -cpplex.o: cpplex.c $(LIBCPP_DEPS) -cppmacro.o: cppmacro.c $(LIBCPP_DEPS) -cpplib.o: cpplib.c $(LIBCPP_DEPS) -cpphash.o: cpphash.c $(LIBCPP_DEPS) -cpptrad.o: cpptrad.c $(LIBCPP_DEPS) -cppfiles.o: cppfiles.c $(LIBCPP_DEPS) $(HASHTAB_H) $(MD5_H) mkdeps.h -cppinit.o: cppinit.c $(LIBCPP_DEPS) mkdeps.h -cpppch.o: cpppch.c $(LIBCPP_DEPS) mkdeps.h - cppdefault.o: cppdefault.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ cppdefault.h Makefile $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(PREPROCESSOR_DEFINES) \ -c $(srcdir)/cppdefault.c $(OUTPUT_OPTION) -mkdeps.o: mkdeps.c $(CONFIG_H) $(SYSTEM_H) mkdeps.h -hashtable.o: hashtable.c hashtable.h $(CONFIG_H) $(SYSTEM_H) $(OBSTACK_H) -line-map.o: line-map.c line-map.h intl.h $(CONFIG_H) $(SYSTEM_H) - # Note for the stamp targets, we run the program `true' instead of # having an empty command (nothing following the semicolon). @@ -2799,7 +2776,7 @@ xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h gen-protos$(build_ # This is nominally a 'build' program, but it's run only when host==build, # so we can (indeed, must) use $(LIBDEPS) and $(LIBS). fix-header$(build_exeext): fix-header.o scan-decls.o scan.o xsys-protos.h \ - c-incpath.o cppdefault.o prefix.o $(LIBDEPS) libcpp.a + c-incpath.o cppdefault.o prefix.o $(LIBDEPS) $(CC_FOR_BUILD) $(BUILD_CFLAGS) $(BUILD_LDFLAGS) -o $@ fix-header.o \ c-incpath.o cppdefault.o scan-decls.o prefix.o scan.o $(LIBS) @@ -3537,7 +3514,7 @@ TAGS: lang.tags # ------------------------------------------------------ # A list of files to be destroyed during "lean" builds. -VOL_FILES=`echo $(BACKEND) $(OBJS) $(C_OBJS) $(LIBCPP_OBJS) *.c *.h gen*` +VOL_FILES=`echo $(BACKEND) $(OBJS) $(C_OBJS) *.c *.h gen*` # Flags to pass to stage2 and later recursive makes. Note that the # WARN_CFLAGS setting can't be to the expansion of GCC_WARN_CFLAGS in diff --git a/gcc/aclocal.m4 b/gcc/aclocal.m4 index 4ed2f083254..53dfd878ba8 100644 --- a/gcc/aclocal.m4 +++ b/gcc/aclocal.m4 @@ -3,30 +3,6 @@ sinclude(../config/accross.m4) sinclude(../config/gettext.m4) sinclude(../config/progtest.m4) -dnl See if stdbool.h properly defines bool and true/false. -AC_DEFUN([gcc_AC_HEADER_STDBOOL], -[AC_CACHE_CHECK([for working stdbool.h], - ac_cv_header_stdbool_h, -[AC_TRY_COMPILE([#include ], -[bool foo = false;], -ac_cv_header_stdbool_h=yes, ac_cv_header_stdbool_h=no)]) -if test $ac_cv_header_stdbool_h = yes; then - AC_DEFINE(HAVE_STDBOOL_H, 1, - [Define if you have a working header file.]) -fi -]) - -dnl See whether we can include both string.h and strings.h. -AC_DEFUN([gcc_AC_HEADER_STRING], -[AC_CACHE_CHECK([whether string.h and strings.h may both be included], - gcc_cv_header_string, -[AC_TRY_COMPILE([#include -#include ], , gcc_cv_header_string=yes, gcc_cv_header_string=no)]) -if test $gcc_cv_header_string = yes; then - AC_DEFINE(STRING_WITH_STRINGS, 1, [Define if you can safely include both and .]) -fi -]) - dnl See whether we need a declaration for a function. dnl The result is highly dependent on the INCLUDES passed in, so make sure dnl to use a different cache variable name in this macro if it is invoked @@ -198,18 +174,6 @@ fi AC_SUBST(LN)dnl ]) -dnl Check whether _Bool is built-in. -AC_DEFUN([gcc_AC_C__BOOL], -[AC_CACHE_CHECK(for built-in _Bool, gcc_cv_c__bool, -[AC_TRY_COMPILE(, -[_Bool foo;], -gcc_cv_c__bool=yes, gcc_cv_c__bool=no) -]) -if test $gcc_cv_c__bool = yes; then - AC_DEFINE(HAVE__BOOL, 1, [Define if the \`_Bool' type is built-in.]) -fi -]) - dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead dnl of the usual 2. AC_DEFUN([gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG], diff --git a/gcc/c-ppoutput.c b/gcc/c-ppoutput.c index 4d83b5d01e2..ef6d8e6d4f3 100644 --- a/gcc/c-ppoutput.c +++ b/gcc/c-ppoutput.c @@ -22,7 +22,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "coretypes.h" #include "tm.h" #include "cpplib.h" -#include "cpphash.h" +#include "../libcpp/internal.h" #include "tree.h" #include "c-common.h" /* For flags. */ #include "c-pragma.h" /* For parse_in. */ diff --git a/gcc/configure.ac b/gcc/configure.ac index 33a9f0bc0a0..45e5da59b75 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -278,7 +278,6 @@ AC_PROG_CPP AC_C_INLINE gcc_AC_C_LONG_LONG -gcc_AC_C__BOOL # sizeof(char) is 1 by definition. AC_COMPILE_CHECK_SIZEOF(void *) @@ -806,8 +805,8 @@ AC_PROG_CPP_WERROR AC_HEADER_STDC AC_HEADER_TIME -gcc_AC_HEADER_STDBOOL -gcc_AC_HEADER_STRING +ACX_HEADER_STDBOOL +ACX_HEADER_STRING AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \ fcntl.h unistd.h sys/file.h sys/time.h sys/mman.h \ @@ -1039,19 +1038,6 @@ if test $gcc_cv_type_clock_t = yes; then [Define if defines clock_t.]) fi -AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar, -[AC_TRY_COMPILE([ -#include "ansidecl.h" -#include "system.h" -], -[if ((uchar *)0) return 0; - if (sizeof(uchar)) return 0;], -ac_cv_type_uchar=yes, ac_cv_type_uchar=no)]) -if test $ac_cv_type_uchar = yes; then - AC_DEFINE(HAVE_UCHAR, 1, - [Define if defines \`uchar'.]) -fi - # Restore CFLAGS from before the gcc_AC_NEED_DECLARATIONS tests. CFLAGS="$saved_CFLAGS" diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 8e5e03adcf9..34db8d64712 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-05-23 Paolo Bonzini + + * Make-lang.in: No need to specify $(LIBCPP). + 2004-05-23 Mark Mitchell PR c++/15044 diff --git a/gcc/cp/Make-lang.in b/gcc/cp/Make-lang.in index 12decae82f1..a928c389213 100644 --- a/gcc/cp/Make-lang.in +++ b/gcc/cp/Make-lang.in @@ -88,9 +88,9 @@ CXX_OBJS = cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o \ cp-warn = $(STRICT_WARN) $(WERROR) cc1plus$(exeext): $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) \ - libcpp.a $(LIBDEPS) + $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ \ - $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) libcpp.a $(LIBS) + $(CXX_OBJS) $(CXX_C_OBJS) $(BACKEND) $(LIBS) # Special build rules. $(srcdir)/cp/cfns.h: $(srcdir)/cp/cfns.gperf diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index c63678023ac..2b6ada67561 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2004-05-23 Paolo Bonzini + + * Make-lang.in: Link in $(LIBCPP) instead of mkdeps.o. + 2004-05-21 Mark Wielaard * gjavah.c (print_stub_or_jni): Mark functions only JNIEXPORT, not diff --git a/gcc/java/Make-lang.in b/gcc/java/Make-lang.in index 367627362dc..84b3d568ec6 100644 --- a/gcc/java/Make-lang.in +++ b/gcc/java/Make-lang.in @@ -105,16 +105,16 @@ JAVA_OBJS = java/parse.o java/class.o java/decl.o java/expr.o \ java/zextract.o java/jcf-io.o java/win32-host.o java/jcf-parse.o java/mangle.o \ java/mangle_name.o java/builtins.o java/resource.o \ java/jcf-write.o java/buffer.o java/check-init.o java/jcf-depend.o \ - java/jcf-path.o java/xref.o java/boehm.o java/java-gimplify.o mkdeps.o + java/jcf-path.o java/xref.o java/boehm.o java/java-gimplify.o GCJH_OBJS = java/gjavah.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \ - java/win32-host.o java/zextract.o version.o mkdeps.o errors.o ggc-none.o \ + java/win32-host.o java/zextract.o version.o errors.o ggc-none.o \ intl.o JVSCAN_OBJS = java/parse-scan.o java/jv-scan.o version.o intl.o JCFDUMP_OBJS = java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o \ - java/win32-host.o java/zextract.o errors.o version.o mkdeps.o ggc-none.o intl.o + java/win32-host.o java/zextract.o errors.o version.o ggc-none.o intl.o JVGENMAIN_OBJS = java/jvgenmain.o java/mangle_name.o errors.o intl.o @@ -130,7 +130,7 @@ jc1$(exeext): $(JAVA_OBJS) $(BACKEND) $(LIBDEPS) gcjh$(exeext): $(GCJH_OBJS) $(LIBDEPS) rm -f $@ - $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GCJH_OBJS) $(ZLIB) $(LIBS) + $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(GCJH_OBJS) $(CPPLIBS) $(ZLIB) $(LIBS) jv-scan$(exeext): $(JVSCAN_OBJS) $(LIBDEPS) rm -f $@ @@ -139,7 +139,7 @@ jv-scan$(exeext): $(JVSCAN_OBJS) $(LIBDEPS) jcf-dump$(exeext): $(JCFDUMP_OBJS) $(LIBDEPS) rm -f $@ $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(JCFDUMP_OBJS) \ - $(ZLIB) $(LDEXP_LIB) $(LIBS) + $(CPPLIBS) $(ZLIB) $(LDEXP_LIB) $(LIBS) jvgenmain$(exeext): $(JVGENMAIN_OBJS) $(LIBDEPS) rm -f $@ diff --git a/gcc/stringpool.c b/gcc/stringpool.c index 0cf3be14f88..3592d4e36a4 100644 --- a/gcc/stringpool.c +++ b/gcc/stringpool.c @@ -22,7 +22,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA allocated by ggc_alloc_string are stored in an obstack which is never shrunk. Identifiers are uniquely stored in a hash table. - We have our own private hash table implementation. libiberty's + We use cpplib's hash table implementation. libiberty's hashtab.c is not used because it requires 100% average space overhead per string, which is unacceptable. Also, this algorithm is faster. */ @@ -33,7 +33,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "tm.h" #include "ggc.h" #include "tree.h" -#include "hashtable.h" +#include "symtab.h" #include "cpplib.h" /* The "" allocated string. */ diff --git a/gcc/system.h b/gcc/system.h index 53754660f58..58b2bf7caa0 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -421,16 +421,6 @@ extern int snprintf (char *, size_t, const char *, ...); # endif #endif -/* Approximate O_NONBLOCK. */ -#ifndef O_NONBLOCK -#define O_NONBLOCK O_NDELAY -#endif - -/* Approximate O_NOCTTY. */ -#ifndef O_NOCTTY -#define O_NOCTTY 0 -#endif - /* Define well known filenos if the system does not define them. */ #ifndef STDIN_FILENO # define STDIN_FILENO 0 diff --git a/gcc/tree.h b/gcc/tree.h index f667a7974a0..1bf3cd24ced 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -957,7 +957,7 @@ struct tree_vector GTY(()) tree elements; }; -#include "hashtable.h" +#include "symtab.h" /* Define fields and accessors for some special-purpose tree nodes. */ diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog new file mode 100644 index 00000000000..84a0b8369f2 --- /dev/null +++ b/libcpp/ChangeLog @@ -0,0 +1,35 @@ +2004-05-23 Paolo Bonzini + + Moved libcpp from the gcc subdirectory to the toplevel. + * Makefile.am: New file. + * Makefile.in: Regenerate. + * configure.ac: New file. + * configure: Regenerate. + * config.in: Regenerate. + * charset.c: Moved from gcc/cppcharset.c. Add note about + brokenness of input charset detection. Adjust for change + in name of cppucnid.h. + * errors.c: Moved from gcc/cpperror.c. Do not include intl.h. + * expr.c: Moved from gcc/cppexp.c. + * files.c: Moved from gcc/cppfiles.c. Do not include intl.h. + Remove #define of O_BINARY, it is in system.h. + * identifiers.c: Moved from gcc/cpphash.c. + * internal.h: Moved from gcc/cpphash.h. Change header + guard name. All other files adjusted to match name change. + * init.c: Moved from gcc/cppinit.c. + (init_library) [ENABLE_NLS]: Call bindtextdomain. + * lex.c: Moved from gcc/cpplex.c. + * directives.c: Moved from gcc/cpplib.c. + * macro.c: Moved from gcc/cppmacro.c. + * pch.c: Moved from gcc/cpppch.c. Do not include intl.h. + * traditional.c: Moved from gcc/cpptrad.c. + * ucnid.h: Moved from gcc/cppucnid.h. Change header + guard name. + * ucnid.pl: Moved from gcc/cppucnid.pl. + * ucnid.tab: Moved from gcc/cppucnid.tab. Change header + guard name. + * symtab.c: Moved from gcc/hashtable.c. + * line-map.c: Moved from gcc. Do not include intl.h. + * mkdeps.c: Moved from gcc. + * system.h: New file. + diff --git a/libcpp/Makefile.am b/libcpp/Makefile.am new file mode 100644 index 00000000000..5c6b66cf3e1 --- /dev/null +++ b/libcpp/Makefile.am @@ -0,0 +1,75 @@ +localedir = $(datadir)/locale +ACLOCAL_AMFLAGS = -I ../config +AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/../intl \ + -I$(srcdir)/include -DLOCALEDIR="\"$(localedir)\"" + +noinst_LIBRARIES = libcpp.a +libcpp_a_SOURCES = \ + charset.c directives.c errors.c expr.c files.c \ + identifiers.c init.c lex.c line-map.c macro.c mkdeps.c \ + pch.c symtab.c traditional.c + +noinst_HEADERS = \ + include/cpplib.h include/line-map.h include/mkdeps.h \ + include/symtab.h internal.h system.h ucnid.h + +XGETTEXT = @XGETTEXT@ +GMSGFMT = @GMSGFMT@ +MSGMERGE = msgmerge +CATALOGS = @CATALOGS@ + +if ENABLE_NLS +build-po: $(CATALOGS) +update-po: $(CATALOGS:.gmo=.pox) +else +build-po: +update-po: +endif + +# N.B. We do not attempt to copy these into $(srcdir). +.po.gmo: + -test -d po || mkdir po + $(GMSGFMT) --statistics -o $@ $< + +# The new .po has to be gone over by hand, so we deposit it into +# build/po with a different extension. +# If build/po/$(PACKAGE).pot exists, use it (it was just created), +# else use the one in srcdir. +.po.pox: + -test -d po || mkdir po + $(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \ + then echo po/$(PACKAGE).pot; \ + else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@ + +# This rule has to look for .gmo modules in both srcdir and +# the cwd, and has to check that we actually have a catalog +# for each language, in case they weren't built or included +# with the distribution. +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(datadir) + cats="$(CATALOGS)"; for cat in $$cats; do \ + lang=`basename $$cat | sed 's/\.gmo$$//'`; \ + if [ -f $$cat ]; then :; \ + elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \ + else continue; \ + fi; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + echo $(mkinstalldirs) $(DESTDIR)$$dir; \ + $(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \ + echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ + $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ + done + +# Rule for regenerating the message template (gcc.pot). +# Instead of forcing everyone to edit POTFILES.in, which proved impractical, +# this rule has no dependencies and always regenerates libcpp.pot. This is +# relatively harmless since the .po files do not directly depend on it. +.PHONY: po/$(PACKAGE).pot +po/$(PACKAGE).pot: $(libcpp_a_SOURCES) $(noinst_HEADERS) + -test -d $(srcdir)/po || mkdir $(srcdir)/po + $(XGETTEXT) --default-domain=$(PACKAGE) \ + --keyword=cpp_error,3 --keyword=cpp_errno,3 \ + --keyword=cpp_error_with_line,5 \ + --copyright-holder="Free Software Foundation, Inc." \ + --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ + --language=c -o po/$(PACKAGE).pot $^ diff --git a/libcpp/Makefile.in b/libcpp/Makefile.in new file mode 100644 index 00000000000..05390cba6f1 --- /dev/null +++ b/libcpp/Makefile.in @@ -0,0 +1,641 @@ +# Makefile.in generated by automake 1.8.4 from Makefile.am. +# @configure_input@ + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004 Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + + +SOURCES = $(libcpp_a_SOURCES) + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = . +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = @build@ +host_triplet = @host@ +target_triplet = @target@ +DIST_COMMON = $(am__configure_deps) $(noinst_HEADERS) \ + $(srcdir)/../config.guess $(srcdir)/../config.sub \ + $(srcdir)/../depcomp $(srcdir)/../install-sh \ + $(srcdir)/../missing $(srcdir)/../mkinstalldirs \ + $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/config.in $(top_srcdir)/configure ChangeLog +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \ + $(top_srcdir)/../config/gettext.m4 $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno configure.status.lineno +mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = +AR = ar +ARFLAGS = cru +LIBRARIES = $(noinst_LIBRARIES) +libcpp_a_AR = $(AR) $(ARFLAGS) +libcpp_a_LIBADD = +am_libcpp_a_OBJECTS = charset.$(OBJEXT) directives.$(OBJEXT) \ + errors.$(OBJEXT) expr.$(OBJEXT) files.$(OBJEXT) \ + identifiers.$(OBJEXT) init.$(OBJEXT) lex.$(OBJEXT) \ + line-map.$(OBJEXT) macro.$(OBJEXT) mkdeps.$(OBJEXT) \ + pch.$(OBJEXT) symtab.$(OBJEXT) traditional.$(OBJEXT) +libcpp_a_OBJECTS = $(am_libcpp_a_OBJECTS) +DEFAULT_INCLUDES = -I. -I$(srcdir) -I. +depcomp = $(SHELL) $(top_srcdir)/../depcomp +am__depfiles_maybe = depfiles +@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/charset.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/directives.Po ./$(DEPDIR)/errors.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/expr.Po ./$(DEPDIR)/files.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/identifiers.Po ./$(DEPDIR)/init.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/lex.Po ./$(DEPDIR)/line-map.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/macro.Po ./$(DEPDIR)/mkdeps.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/pch.Po ./$(DEPDIR)/symtab.Po \ +@AMDEP_TRUE@ ./$(DEPDIR)/traditional.Po +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +CCLD = $(CC) +LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +SOURCES = $(libcpp_a_SOURCES) +DIST_SOURCES = $(libcpp_a_SOURCES) +HEADERS = $(noinst_HEADERS) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d $(distdir) \ + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr $(distdir); }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = @ACLOCAL@ +ALLOCA = @ALLOCA@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CATALOGS = @CATALOGS@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +ENABLE_NLS_FALSE = @ENABLE_NLS_FALSE@ +ENABLE_NLS_TRUE = @ENABLE_NLS_TRUE@ +EXEEXT = @EXEEXT@ +GMSGFMT = @GMSGFMT@ +INCINTL = @INCINTL@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +LDFLAGS = @LDFLAGS@ +LIBICONV = @LIBICONV@ +LIBINTL = @LIBINTL@ +LIBINTL_DEP = @LIBINTL_DEP@ +LIBOBJS = @LIBOBJS@ +LIBS = @LIBS@ +LTLIBICONV = @LTLIBICONV@ +LTLIBOBJS = @LTLIBOBJS@ +MAINT = @MAINT@ +MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ +MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ +MAKEINFO = @MAKEINFO@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +POSUB = @POSUB@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +USE_NLS = @USE_NLS@ +VERSION = @VERSION@ +XGETTEXT = @XGETTEXT@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__include = @am__include@ +am__leading_dot = @am__leading_dot@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +mkdir_p = @mkdir_p@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target = @target@ +target_alias = @target_alias@ +target_cpu = @target_cpu@ +target_os = @target_os@ +target_vendor = @target_vendor@ +localedir = $(datadir)/locale +ACLOCAL_AMFLAGS = -I ../config +AM_CPPFLAGS = -I$(srcdir)/../include -I$(srcdir) -I$(srcdir)/../intl \ + -I$(srcdir)/include -DLOCALEDIR="\"$(localedir)\"" + +noinst_LIBRARIES = libcpp.a +libcpp_a_SOURCES = \ + charset.c directives.c errors.c expr.c files.c \ + identifiers.c init.c lex.c line-map.c macro.c mkdeps.c \ + pch.c symtab.c traditional.c + +noinst_HEADERS = \ + include/cpplib.h include/line-map.h include/mkdeps.h \ + include/symtab.h internal.h system.h ucnid.h + +MSGMERGE = msgmerge +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .gmo .o .obj .po .pox +am--refresh: + @: +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \ + cd $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + cd $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) + cd $(top_srcdir) && $(AUTOHEADER) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +libcpp.a: $(libcpp_a_OBJECTS) $(libcpp_a_DEPENDENCIES) + -rm -f libcpp.a + $(libcpp_a_AR) libcpp.a $(libcpp_a_OBJECTS) $(libcpp_a_LIBADD) + $(RANLIB) libcpp.a + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/charset.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/directives.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/errors.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/expr.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/files.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/identifiers.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/lex.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/line-map.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/macro.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mkdeps.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pch.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/traditional.Po@am__quote@ + +.c.o: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c $< + +.c.obj: +@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ +@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` +uninstall-info-am: + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ + test -z "$$unique" && unique=$$empty_fix; \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + $(am__remove_distdir) + mkdir $(distdir) + $(mkdir_p) $(distdir)/.. $(distdir)/../config $(distdir)/include + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkdir_p) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done + -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r $(distdir) +dist-gzip: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-tarZ: distdir + $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\ + *.tar.bz2*) \ + bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && cd $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' +distuninstallcheck: + @cd $(distuninstallcheck_dir) \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-am +all-am: Makefile $(LIBRARIES) $(HEADERS) config.h +installdirs: +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +clean: clean-am + +clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am + +distclean: distclean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf ./$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +info: info-am + +info-am: + +install-data-am: install-data-local + +install-exec-am: + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf ./$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am + +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ + clean-generic clean-noinstLIBRARIES ctags dist dist-all \ + dist-bzip2 dist-gzip dist-shar dist-tarZ dist-zip distcheck \ + distclean distclean-compile distclean-generic distclean-hdr \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install install-am \ + install-data install-data-am install-data-local install-exec \ + install-exec-am install-info install-info-am install-man \ + install-strip installcheck installcheck-am installdirs \ + maintainer-clean maintainer-clean-generic mostlyclean \ + mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-info-am + + +@ENABLE_NLS_TRUE@build-po: $(CATALOGS) +@ENABLE_NLS_TRUE@update-po: $(CATALOGS:.gmo=.pox) +@ENABLE_NLS_FALSE@build-po: +@ENABLE_NLS_FALSE@update-po: + +# N.B. We do not attempt to copy these into $(srcdir). +.po.gmo: + -test -d po || mkdir po + $(GMSGFMT) --statistics -o $@ $< + +# The new .po has to be gone over by hand, so we deposit it into +# build/po with a different extension. +# If build/po/$(PACKAGE).pot exists, use it (it was just created), +# else use the one in srcdir. +.po.pox: + -test -d po || mkdir po + $(MSGMERGE) $< `if test -f po/$(PACKAGE).pot; \ + then echo po/$(PACKAGE).pot; \ + else echo $(srcdir)/po/$(PACKAGE).pot; fi` -o $@ + +# This rule has to look for .gmo modules in both srcdir and +# the cwd, and has to check that we actually have a catalog +# for each language, in case they weren't built or included +# with the distribution. +install-data-local: + $(mkinstalldirs) $(DESTDIR)$(datadir) + cats="$(CATALOGS)"; for cat in $$cats; do \ + lang=`basename $$cat | sed 's/\.gmo$$//'`; \ + if [ -f $$cat ]; then :; \ + elif [ -f $(srcdir)/$$cat ]; then cat=$(srcdir)/$$cat; \ + else continue; \ + fi; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + echo $(mkinstalldirs) $(DESTDIR)$$dir; \ + $(mkinstalldirs) $(DESTDIR)$$dir || exit 1; \ + echo $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ + $(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ + done + +# Rule for regenerating the message template (gcc.pot). +# Instead of forcing everyone to edit POTFILES.in, which proved impractical, +# this rule has no dependencies and always regenerates libcpp.pot. This is +# relatively harmless since the .po files do not directly depend on it. +.PHONY: po/$(PACKAGE).pot +po/$(PACKAGE).pot: $(libcpp_a_SOURCES) $(noinst_HEADERS) + -test -d $(srcdir)/po || mkdir $(srcdir)/po + $(XGETTEXT) --default-domain=$(PACKAGE) \ + --keyword=cpp_error,3 --keyword=cpp_errno,3 \ + --keyword=cpp_error_with_line,5 \ + --copyright-holder="Free Software Foundation, Inc." \ + --msgid-bugs-address="http://gcc.gnu.org/bugs.html" \ + --language=c -o po/$(PACKAGE).pot $^ +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: diff --git a/libcpp/aclocal.m4 b/libcpp/aclocal.m4 new file mode 100644 index 00000000000..12cd2d0fe48 --- /dev/null +++ b/libcpp/aclocal.m4 @@ -0,0 +1,1899 @@ +# generated automatically by aclocal 1.8.4 -*- Autoconf -*- + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. +# This file is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +# codeset.m4 serial AM1 (gettext-0.10.40) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_LANGINFO_CODESET], +[ + AC_CACHE_CHECK([for nl_langinfo and CODESET], am_cv_langinfo_codeset, + [AC_TRY_LINK([#include ], + [char* cs = nl_langinfo(CODESET);], + am_cv_langinfo_codeset=yes, + am_cv_langinfo_codeset=no) + ]) + if test $am_cv_langinfo_codeset = yes; then + AC_DEFINE(HAVE_LANGINFO_CODESET, 1, + [Define if you have and nl_langinfo(CODESET).]) + fi +]) + +# iconv.m4 serial AM4 (gettext-0.11.3) +dnl Copyright (C) 2000-2002 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +AC_DEFUN([AM_ICONV_LINKFLAGS_BODY], +[ + dnl Prerequisites of AC_LIB_LINKFLAGS_BODY. + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([iconv]) +]) + +AC_DEFUN([AM_ICONV_LINK], +[ + dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and + dnl those with the standalone portable GNU libiconv installed). + + dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV + dnl accordingly. + AC_REQUIRE([AM_ICONV_LINKFLAGS_BODY]) + + dnl Add $INCICONV to CPPFLAGS before performing the following checks, + dnl because if the user has installed libiconv and not disabled its use + dnl via --without-libiconv-prefix, he wants to use it. The first + dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed. + am_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV]) + + AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_func_iconv=yes) + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + AC_TRY_LINK([#include +#include ], + [iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd);], + am_cv_lib_iconv=yes + am_cv_func_iconv=yes) + LIBS="$am_save_LIBS" + fi + ]) + if test "$am_cv_func_iconv" = yes; then + AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) + fi + if test "$am_cv_lib_iconv" = yes; then + AC_MSG_CHECKING([how to link with libiconv]) + AC_MSG_RESULT([$LIBICONV]) + else + dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV + dnl either. + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + AC_SUBST(LIBICONV) + AC_SUBST(LTLIBICONV) +]) + +AC_DEFUN([AM_ICONV], +[ + AM_ICONV_LINK + if test "$am_cv_func_iconv" = yes; then + AC_MSG_CHECKING([for iconv declaration]) + AC_CACHE_VAL(am_cv_proto_iconv, [ + AC_TRY_COMPILE([ +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif +], [], am_cv_proto_iconv_arg1="", am_cv_proto_iconv_arg1="const") + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"]) + am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + AC_MSG_RESULT([$]{ac_t:- + }[$]am_cv_proto_iconv) + AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, + [Define as const if the declaration of iconv() needs const.]) + fi +]) + +# lib-ld.m4 serial 3 (gettext-0.13) +dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl Subroutines of libtool.m4, +dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision +dnl with libtool.m4. + +dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. +AC_DEFUN([AC_LIB_PROG_LD_GNU], +[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, +[# I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + AC_MSG_CHECKING([for ld used by GCC]) + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [[\\/]* | [A-Za-z]:[\\/]*)] + [re_direlt='/[^/][^/]*/\.\./'] + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + AC_MSG_CHECKING([for GNU ld]) +else + AC_MSG_CHECKING([for non-GNU ld]) +fi +AC_CACHE_VAL(acl_cv_path_LD, +[if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi]) +LD="$acl_cv_path_LD" +if test -n "$LD"; then + AC_MSG_RESULT($LD) +else + AC_MSG_RESULT(no) +fi +test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) +AC_LIB_PROG_LD_GNU +]) + +# lib-link.m4 serial 4 (gettext-0.12) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and +dnl augments the CPPFLAGS variable. +AC_DEFUN([AC_LIB_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + ac_cv_lib[]Name[]_libs="$LIB[]NAME" + ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" + ac_cv_lib[]Name[]_cppflags="$INC[]NAME" + ]) + LIB[]NAME="$ac_cv_lib[]Name[]_libs" + LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" + INC[]NAME="$ac_cv_lib[]Name[]_cppflags" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the + dnl results of this search when this library appears as a dependency. + HAVE_LIB[]NAME=yes + undefine([Name]) + undefine([NAME]) +]) + +dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) +dnl searches for libname and the libraries corresponding to explicit and +dnl implicit dependencies, together with the specified include files and +dnl the ability to compile and link the specified testcode. If found, it +dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and +dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and +dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs +dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. +AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], +[ + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + AC_REQUIRE([AC_LIB_RPATH]) + define([Name],[translit([$1],[./-], [___])]) + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + + dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME + dnl accordingly. + AC_LIB_LINKFLAGS_BODY([$1], [$2]) + + dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, + dnl because if the user has installed lib[]Name and not disabled its use + dnl via --without-lib[]Name-prefix, he wants to use it. + ac_save_CPPFLAGS="$CPPFLAGS" + AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) + + AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ + ac_save_LIBS="$LIBS" + LIBS="$LIBS $LIB[]NAME" + AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) + LIBS="$ac_save_LIBS" + ]) + if test "$ac_cv_lib[]Name" = yes; then + HAVE_LIB[]NAME=yes + AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) + AC_MSG_CHECKING([how to link with lib[]$1]) + AC_MSG_RESULT([$LIB[]NAME]) + else + HAVE_LIB[]NAME=no + dnl If $LIB[]NAME didn't lead to a usable library, we don't need + dnl $INC[]NAME either. + CPPFLAGS="$ac_save_CPPFLAGS" + LIB[]NAME= + LTLIB[]NAME= + fi + AC_SUBST([HAVE_LIB]NAME) + AC_SUBST([LIB]NAME) + AC_SUBST([LTLIB]NAME) + undefine([Name]) + undefine([NAME]) +]) + +dnl Determine the platform dependent parameters needed to use rpath: +dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, +dnl hardcode_direct, hardcode_minus_L. +AC_DEFUN([AC_LIB_RPATH], +[ + AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS + AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld + AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host + AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir + AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + ]) + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + dnl Determine whether the user wants rpath handling at all. + AC_ARG_ENABLE(rpath, + [ --disable-rpath do not hardcode runtime library paths], + :, enable_rpath=yes) +]) + +dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and +dnl the libraries corresponding to explicit and implicit dependencies. +dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. +AC_DEFUN([AC_LIB_LINKFLAGS_BODY], +[ + define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], + [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib$1-prefix], +[ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib + --without-lib$1-prefix don't search for lib$1 in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + dnl Search the library and its dependencies in $additional_libdir and + dnl $LDFLAGS. Using breadth-first-seach. + LIB[]NAME= + LTLIB[]NAME= + INC[]NAME= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='$1 $2' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + dnl See if it was already located by an earlier AC_LIB_LINKFLAGS + dnl or AC_LIB_HAVE_LINKFLAGS call. + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" + else + dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined + dnl that this library doesn't exist. So just drop it. + : + fi + else + dnl Search the library lib$name in $additional_libdir and $LDFLAGS + dnl and the already constructed $LIBNAME/$LTLIBNAME. + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + dnl Found the library. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + dnl Linking with a shared library. We attempt to hardcode its + dnl directory into the executable's runpath, unless it's the + dnl standard /usr/lib. + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + dnl No hardcoding is needed. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + dnl The hardcoding into $LIBNAME is system dependent. + if test "$hardcode_direct" = yes; then + dnl Using DIR/libNAME.so during linking hardcodes DIR into the + dnl resulting binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + dnl Use an explicit option to hardcode DIR into the resulting + dnl binary. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + dnl Rely on "-L$found_dir". + dnl But don't add it if it's already contained in the LDFLAGS + dnl or the already constructed $LIBNAME + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" + else + dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH + dnl here, because this doesn't fit in flags passed to the + dnl compiler. So give up. No hardcoding. This affects only + dnl very old systems. + dnl FIXME: Not sure whether we should use + dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" + dnl here. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + dnl Linking with a static library. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" + else + dnl We shouldn't come here, but anyway it's good to have a + dnl fallback. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" + fi + fi + dnl Assume the include files are nearby. + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + dnl Potentially add $additional_includedir to $INCNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's /usr/local/include and we are using GCC on Linux, + dnl 3. if it's already present in $CPPFLAGS or the already + dnl constructed $INCNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INC[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $INCNAME. + INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + dnl Look for dependencies. + if test -n "$found_la"; then + dnl Read the .la file. It defines the variables + dnl dlname, library_names, old_library, dependency_libs, current, + dnl age, revision, installed, dlopen, dlpreopen, libdir. + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + dnl We use only dependency_libs. + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's /usr/local/lib and we are using GCC on Linux, + dnl 3. if it's already present in $LDFLAGS or the already + dnl constructed $LIBNAME, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LIBNAME. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIB[]NAME; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LTLIBNAME. + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + dnl Potentially add DIR to rpathdirs. + dnl The rpathdirs will be appended to $LIBNAME at the end. + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + dnl Potentially add DIR to ltrpathdirs. + dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + dnl Handle this in the next round. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + dnl Handle this in the next round. Throw away the .la's + dnl directory; it is already contained in a preceding -L + dnl option. + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + dnl Most likely an immediate library name. + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" + ;; + esac + done + fi + else + dnl Didn't find the library; assume it is in the system directories + dnl known to the linker and runtime loader. (All the system + dnl directories known to the linker should also be known to the + dnl runtime loader, otherwise the system is severely misconfigured.) + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + dnl Weird platform: only the last -rpath option counts, the user must + dnl pass all path elements in one option. We can arrange that for a + dnl single library, but not when more than one $LIBNAMEs are used. + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + else + dnl The -rpath options are cumulative. + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + dnl When using libtool, the option that works for both libraries and + dnl executables is -R. The -R options are cumulative. + for found_dir in $ltrpathdirs; do + LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" + done + fi +]) + +dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, +dnl unless already present in VAR. +dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes +dnl contains two or three consecutive elements that belong together. +AC_DEFUN([AC_LIB_APPENDTOVAR], +[ + for element in [$2]; do + haveit= + for x in $[$1]; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + [$1]="${[$1]}${[$1]:+ }$element" + fi + done +]) + +# lib-prefix.m4 serial 3 (gettext-0.13) +dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +dnl This file is free software, distributed under the terms of the GNU +dnl General Public License. As a special exception to the GNU General +dnl Public License, this file may be distributed as part of a program +dnl that contains a configuration script generated by Autoconf, under +dnl the same distribution terms as the rest of that program. + +dnl From Bruno Haible. + +dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and +dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't +dnl require excessive bracketing. +ifdef([AC_HELP_STRING], +[AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], +[AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) + +dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed +dnl to access previously installed libraries. The basic assumption is that +dnl a user will want packages to use other packages he previously installed +dnl with the same --prefix option. +dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate +dnl libraries, but is otherwise very convenient. +AC_DEFUN([AC_LIB_PREFIX], +[ + AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) + AC_REQUIRE([AC_PROG_CC]) + AC_REQUIRE([AC_CANONICAL_HOST]) + AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) + dnl By default, look in $includedir and $libdir. + use_additional=yes + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + AC_LIB_ARG_WITH([lib-prefix], +[ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib + --without-lib-prefix don't search for libraries in includedir and libdir], +[ + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + AC_LIB_WITH_FINAL_PREFIX([ + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + ]) + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi +]) + if test $use_additional = yes; then + dnl Potentially add $additional_includedir to $CPPFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/include, + dnl 2. if it's already present in $CPPFLAGS, + dnl 3. if it's /usr/local/include and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + for x in $CPPFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + dnl Really add $additional_includedir to $CPPFLAGS. + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" + fi + fi + fi + fi + dnl Potentially add $additional_libdir to $LDFLAGS. + dnl But don't add it + dnl 1. if it's the standard /usr/lib, + dnl 2. if it's already present in $LDFLAGS, + dnl 3. if it's /usr/local/lib and we are using GCC on Linux, + dnl 4. if it doesn't exist as a directory. + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + for x in $LDFLAGS; do + AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + dnl Really add $additional_libdir to $LDFLAGS. + LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" + fi + fi + fi + fi + fi +]) + +dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, +dnl acl_final_exec_prefix, containing the values to which $prefix and +dnl $exec_prefix will expand at the end of the configure script. +AC_DEFUN([AC_LIB_PREPARE_PREFIX], +[ + dnl Unfortunately, prefix and exec_prefix get only finally determined + dnl at the end of configure. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" +]) + +dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the +dnl variables prefix and exec_prefix bound to the values they will have +dnl at the end of the configure script. +AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], +[ + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + $1 + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" +]) + +# -*- Autoconf -*- +# Copyright (C) 2002, 2003 Free Software Foundation, Inc. +# Generated from amversion.in; do not edit by hand. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA + +# AM_AUTOMAKE_VERSION(VERSION) +# ---------------------------- +# Automake X.Y traces this macro to ensure aclocal.m4 has been +# generated from the m4 files accompanying Automake X.Y. +AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.8"]) + +# AM_SET_CURRENT_AUTOMAKE_VERSION +# ------------------------------- +# Call AM_AUTOMAKE_VERSION so it can be traced. +# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. +AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], + [AM_AUTOMAKE_VERSION([1.8.4])]) + +# AM_AUX_DIR_EXPAND + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets +# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to +# `$srcdir', `$srcdir/..', or `$srcdir/../..'. +# +# Of course, Automake must honor this variable whenever it calls a +# tool from the auxiliary directory. The problem is that $srcdir (and +# therefore $ac_aux_dir as well) can be either absolute or relative, +# depending on how configure is run. This is pretty annoying, since +# it makes $ac_aux_dir quite unusable in subdirectories: in the top +# source directory, any form will work fine, but in subdirectories a +# relative path needs to be adjusted first. +# +# $ac_aux_dir/missing +# fails when called from a subdirectory if $ac_aux_dir is relative +# $top_srcdir/$ac_aux_dir/missing +# fails if $ac_aux_dir is absolute, +# fails when called from a subdirectory in a VPATH build with +# a relative $ac_aux_dir +# +# The reason of the latter failure is that $top_srcdir and $ac_aux_dir +# are both prefixed by $srcdir. In an in-source build this is usually +# harmless because $srcdir is `.', but things will broke when you +# start a VPATH build or use an absolute $srcdir. +# +# So we could use something similar to $top_srcdir/$ac_aux_dir/missing, +# iff we strip the leading $srcdir from $ac_aux_dir. That would be: +# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` +# and then we would define $MISSING as +# MISSING="\${SHELL} $am_aux_dir/missing" +# This will work as long as MISSING is not called from configure, because +# unfortunately $(top_srcdir) has no meaning in configure. +# However there are other variables, like CC, which are often used in +# configure, and could therefore not use this "fixed" $ac_aux_dir. +# +# Another solution, used here, is to always expand $ac_aux_dir to an +# absolute PATH. The drawback is that using absolute paths prevent a +# configured tree to be moved without reconfiguration. + +AC_DEFUN([AM_AUX_DIR_EXPAND], +[dnl Rely on autoconf to set up CDPATH properly. +AC_PREREQ([2.50])dnl +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` +]) + +# AM_CONDITIONAL -*- Autoconf -*- + +# Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 6 + +# AM_CONDITIONAL(NAME, SHELL-CONDITION) +# ------------------------------------- +# Define a conditional. +AC_DEFUN([AM_CONDITIONAL], +[AC_PREREQ(2.52)dnl + ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], + [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl +AC_SUBST([$1_TRUE]) +AC_SUBST([$1_FALSE]) +if $2; then + $1_TRUE= + $1_FALSE='#' +else + $1_TRUE='#' + $1_FALSE= +fi +AC_CONFIG_COMMANDS_PRE( +[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then + AC_MSG_ERROR([conditional "$1" was never defined. +Usually this means the macro was only invoked conditionally.]) +fi])]) + +# serial 7 -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + + +# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be +# written in clear, in which case automake, when reading aclocal.m4, +# will think it sees a *use*, and therefore will trigger all it's +# C support machinery. Also note that it means that autoscan, seeing +# CC etc. in the Makefile, will ask for an AC_PROG_CC use... + + + +# _AM_DEPENDENCIES(NAME) +# ---------------------- +# See how the compiler implements dependency checking. +# NAME is "CC", "CXX", "GCJ", or "OBJC". +# We try a few techniques and use that to set a single cache variable. +# +# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was +# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular +# dependency, and given that the user is not expected to run this macro, +# just rely on AC_PROG_CC. +AC_DEFUN([_AM_DEPENDENCIES], +[AC_REQUIRE([AM_SET_DEPDIR])dnl +AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl +AC_REQUIRE([AM_MAKE_INCLUDE])dnl +AC_REQUIRE([AM_DEP_TRACK])dnl + +ifelse([$1], CC, [depcc="$CC" am_compiler_list=], + [$1], CXX, [depcc="$CXX" am_compiler_list=], + [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], + [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], + [depcc="$$1" am_compiler_list=]) + +AC_CACHE_CHECK([dependency style of $depcc], + [am_cv_$1_dependencies_compiler_type], +[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_$1_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_$1_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_$1_dependencies_compiler_type=none +fi +]) +AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) +AM_CONDITIONAL([am__fastdep$1], [ + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) +]) + + +# AM_SET_DEPDIR +# ------------- +# Choose a directory name for dependency files. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES +AC_DEFUN([AM_SET_DEPDIR], +[AC_REQUIRE([AM_SET_LEADING_DOT])dnl +AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl +]) + + +# AM_DEP_TRACK +# ------------ +AC_DEFUN([AM_DEP_TRACK], +[AC_ARG_ENABLE(dependency-tracking, +[ --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors]) +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi +AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) +AC_SUBST([AMDEPBACKSLASH]) +]) + +# Generate code to set up dependency tracking. -*- Autoconf -*- + +# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +#serial 2 + +# _AM_OUTPUT_DEPENDENCY_COMMANDS +# ------------------------------ +AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], +[for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`AS_DIRNAME("$mf")` + else + continue + fi + grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`AS_DIRNAME(["$file"])` + AS_MKDIR_P([$dirpart/$fdir]) + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done +])# _AM_OUTPUT_DEPENDENCY_COMMANDS + + +# AM_OUTPUT_DEPENDENCY_COMMANDS +# ----------------------------- +# This macro should only be invoked once -- use via AC_REQUIRE. +# +# This code is only required when automatic dependency tracking +# is enabled. FIXME. This creates each `.P' file that we will +# need in order to bootstrap the dependency handling code. +AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], +[AC_CONFIG_COMMANDS([depfiles], + [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], + [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) +]) + +# Do all the work for Automake. -*- Autoconf -*- + +# This macro actually does too much some checks are only needed if +# your package does certain things. But this isn't really a big deal. + +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 11 + +# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) +# AM_INIT_AUTOMAKE([OPTIONS]) +# ----------------------------------------------- +# The call with PACKAGE and VERSION arguments is the old style +# call (pre autoconf-2.50), which is being phased out. PACKAGE +# and VERSION should now be passed to AC_INIT and removed from +# the call to AM_INIT_AUTOMAKE. +# We support both call styles for the transition. After +# the next Automake release, Autoconf can make the AC_INIT +# arguments mandatory, and then we can depend on a new Autoconf +# release and drop the old call support. +AC_DEFUN([AM_INIT_AUTOMAKE], +[AC_PREREQ([2.58])dnl +dnl Autoconf wants to disallow AM_ names. We explicitly allow +dnl the ones we care about. +m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl +AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl +AC_REQUIRE([AC_PROG_INSTALL])dnl +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi +AC_SUBST([CYGPATH_W]) + +# Define the identity of the package. +dnl Distinguish between old-style and new-style calls. +m4_ifval([$2], +[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl + AC_SUBST([PACKAGE], [$1])dnl + AC_SUBST([VERSION], [$2])], +[_AM_SET_OPTIONS([$1])dnl + AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl + AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl + +_AM_IF_OPTION([no-define],, +[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) + AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl + +# Some tools Automake needs. +AC_REQUIRE([AM_SANITY_CHECK])dnl +AC_REQUIRE([AC_ARG_PROGRAM])dnl +AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) +AM_MISSING_PROG(AUTOCONF, autoconf) +AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) +AM_MISSING_PROG(AUTOHEADER, autoheader) +AM_MISSING_PROG(MAKEINFO, makeinfo) +AM_MISSING_PROG(AMTAR, tar) +AM_PROG_INSTALL_SH +AM_PROG_INSTALL_STRIP +AC_REQUIRE([AM_PROG_MKDIR_P])dnl +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. +AC_REQUIRE([AC_PROG_AWK])dnl +AC_REQUIRE([AC_PROG_MAKE_SET])dnl +AC_REQUIRE([AM_SET_LEADING_DOT])dnl + +_AM_IF_OPTION([no-dependencies],, +[AC_PROVIDE_IFELSE([AC_PROG_CC], + [_AM_DEPENDENCIES(CC)], + [define([AC_PROG_CC], + defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl +AC_PROVIDE_IFELSE([AC_PROG_CXX], + [_AM_DEPENDENCIES(CXX)], + [define([AC_PROG_CXX], + defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl +]) +]) + + +# When config.status generates a header, we must update the stamp-h file. +# This file resides in the same directory as the config header +# that is generated. The stamp files are numbered to have different names. + +# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the +# loop where config.status creates the headers, so we can generate +# our stamp files there. +AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], +[# Compute $1's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $1 | $1:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) + +# AM_PROG_INSTALL_SH +# ------------------ +# Define $install_sh. + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +AC_DEFUN([AM_PROG_INSTALL_SH], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +install_sh=${install_sh-"$am_aux_dir/install-sh"} +AC_SUBST(install_sh)]) + +# -*- Autoconf -*- +# Copyright (C) 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 1 + +# Check whether the underlying file-system supports filenames +# with a leading dot. For instance MS-DOS doesn't. +AC_DEFUN([AM_SET_LEADING_DOT], +[rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null +AC_SUBST([am__leading_dot])]) + +# Add --enable-maintainer-mode option to configure. +# From Jim Meyering + +# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004 +# Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +AC_DEFUN([AM_MAINTAINER_MODE], +[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) + dnl maintainer-mode is disabled by default + AC_ARG_ENABLE(maintainer-mode, +[ --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer], + USE_MAINTAINER_MODE=$enableval, + USE_MAINTAINER_MODE=no) + AC_MSG_RESULT([$USE_MAINTAINER_MODE]) + AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) + MAINT=$MAINTAINER_MODE_TRUE + AC_SUBST(MAINT)dnl +] +) + +AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) + +# Check to see how 'make' treats includes. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# AM_MAKE_INCLUDE() +# ----------------- +# Check to see how make treats includes. +AC_DEFUN([AM_MAKE_INCLUDE], +[am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +AC_MSG_CHECKING([for style of include used by $am_make]) +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi +AC_SUBST([am__include]) +AC_SUBST([am__quote]) +AC_MSG_RESULT([$_am_result]) +rm -f confinc confmf +]) + +# -*- Autoconf -*- + + +# Copyright (C) 1997, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_MISSING_PROG(NAME, PROGRAM) +# ------------------------------ +AC_DEFUN([AM_MISSING_PROG], +[AC_REQUIRE([AM_MISSING_HAS_RUN]) +$1=${$1-"${am_missing_run}$2"} +AC_SUBST($1)]) + + +# AM_MISSING_HAS_RUN +# ------------------ +# Define MISSING if not defined so far and test if it supports --run. +# If it does, set am_missing_run to use it, otherwise, to nothing. +AC_DEFUN([AM_MISSING_HAS_RUN], +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + AC_MSG_WARN([`missing' script is too old or missing]) +fi +]) + +# AM_PROG_MKDIR_P +# --------------- +# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. + +# Copyright (C) 2003, 2004 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories +# created by `make install' are always world readable, even if the +# installer happens to have an overly restrictive umask (e.g. 077). +# This was a mistake. There are at least two reasons why we must not +# use `-m 0755': +# - it causes special bits like SGID to be ignored, +# - it may be too restrictive (some setups expect 775 directories). +# +# Do not use -m 0755 and let people choose whatever they expect by +# setting umask. +# +# We cannot accept any implementation of `mkdir' that recognizes `-p'. +# Some implementations (such as Solaris 8's) are not thread-safe: if a +# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' +# concurrently, both version can detect that a/ is missing, but only +# one can create it and the other will error out. Consequently we +# restrict ourselves to GNU make (using the --version option ensures +# this.) +AC_DEFUN([AM_PROG_MKDIR_P], +[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi +AC_SUBST([mkdir_p])]) + +# Helper functions for option handling. -*- Autoconf -*- + +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 2 + +# _AM_MANGLE_OPTION(NAME) +# ----------------------- +AC_DEFUN([_AM_MANGLE_OPTION], +[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) + +# _AM_SET_OPTION(NAME) +# ------------------------------ +# Set option NAME. Presently that only means defining a flag for this option. +AC_DEFUN([_AM_SET_OPTION], +[m4_define(_AM_MANGLE_OPTION([$1]), 1)]) + +# _AM_SET_OPTIONS(OPTIONS) +# ---------------------------------- +# OPTIONS is a space-separated list of Automake options. +AC_DEFUN([_AM_SET_OPTIONS], +[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) + +# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) +# ------------------------------------------- +# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. +AC_DEFUN([_AM_IF_OPTION], +[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) + +# +# Check to make sure that the build environment is sane. +# + +# Copyright (C) 1996, 1997, 2000, 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# serial 3 + +# AM_SANITY_CHECK +# --------------- +AC_DEFUN([AM_SANITY_CHECK], +[AC_MSG_CHECKING([whether build environment is sane]) +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$[*]" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$[*]" != "X $srcdir/configure conftest.file" \ + && test "$[*]" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken +alias in your environment]) + fi + + test "$[2]" = conftest.file + ) +then + # Ok. + : +else + AC_MSG_ERROR([newly created file is older than distributed files! +Check your system clock]) +fi +AC_MSG_RESULT(yes)]) + +# AM_PROG_INSTALL_STRIP + +# Copyright (C) 2001, 2003 Free Software Foundation, Inc. + +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# One issue with vendor `install' (even GNU) is that you can't +# specify the program used to strip binaries. This is especially +# annoying in cross-compiling environments, where the build's strip +# is unlikely to handle the host's binaries. +# Fortunately install-sh will honor a STRIPPROG variable, so we +# always use install-sh in `make install-strip', and initialize +# STRIPPROG with the value of the STRIP variable (set by the user). +AC_DEFUN([AM_PROG_INSTALL_STRIP], +[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +dnl Don't test for $cross_compiling = yes, because it might be `maybe'. +if test "$cross_compiling" != no; then + AC_CHECK_TOOL([STRIP], [strip], :) +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" +AC_SUBST([INSTALL_STRIP_PROGRAM])]) + +m4_include([../config/acx.m4]) +m4_include([../config/gettext.m4]) diff --git a/gcc/cppcharset.c b/libcpp/charset.c similarity index 97% rename from gcc/cppcharset.c rename to libcpp/charset.c index b46f47a1fe0..45e24543fd8 100644 --- a/gcc/cppcharset.c +++ b/libcpp/charset.c @@ -21,8 +21,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" -#include "cppucnid.h" +#include "internal.h" +#include "ucnid.h" /* Character set handling for C-family languages. @@ -1400,7 +1400,25 @@ _cpp_default_encoding (void) { const char *current_encoding = NULL; -#if defined (HAVE_LOCALE_H) && defined (HAVE_LANGINFO_CODESET) + /* We disable this because the default codeset is 7-bit ASCII on + most platforms, and this causes conversion failures on every + file in GCC that happens to have one of the upper 128 characters + in it -- most likely, as part of the name of a contributor. + We should definitely recognize in-band markers of file encoding, + like: + - the appropriate Unicode byte-order mark (FE FF) to recognize + UTF16 and UCS4 (in both big-endian and little-endian flavors) + and UTF8 + - a "#i", "#d", "/*", "//", " #p" or "#p" (for #pragma) to + distinguish ASCII and EBCDIC. + - now we can parse something like "#pragma GCC encoding + on the first line, or even Emacs/VIM's mode line tags (there's + a problem here in that VIM uses the last line, and Emacs has + its more elaborate "Local variables:" convention). + - investigate whether Java has another common convention, which + would be friendly to support. + (Zack Weinberg and Paolo Bonzini, May 20th 2004) */ +#if defined (HAVE_LOCALE_H) && defined (HAVE_LANGINFO_CODESET) && 0 setlocale (LC_CTYPE, ""); current_encoding = nl_langinfo (CODESET); #endif diff --git a/libcpp/config.in b/libcpp/config.in new file mode 100644 index 00000000000..4b7bce74d59 --- /dev/null +++ b/libcpp/config.in @@ -0,0 +1,198 @@ +/* config.in. Generated from configure.ac by autoheader. */ + +/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP + systems. This function is required for `alloca.c' support on those systems. + */ +#undef CRAY_STACKSEG_END + +/* Define to 1 if using `alloca.c'. */ +#undef C_ALLOCA + +/* Define if you want more run-time sanity checks. */ +#undef ENABLE_CHECKING + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* Define to 1 if you have `alloca', as a function or macro. */ +#undef HAVE_ALLOCA + +/* Define to 1 if you have and it should be used (not on Ultrix). + */ +#undef HAVE_ALLOCA_H + +/* Define to 1 if you have the declaration of `abort', and to 0 if you don't. + */ +#undef HAVE_DECL_ABORT + +/* Define to 1 if you have the declaration of `errno', and to 0 if you don't. + */ +#undef HAVE_DECL_ERRNO + +/* Define to 1 if you have the declaration of `fprintf_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPRINTF_UNLOCKED + +/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTC_UNLOCKED + +/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FPUTS_UNLOCKED + +/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if + you don't. */ +#undef HAVE_DECL_FWRITE_UNLOCKED + +/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you + don't. */ +#undef HAVE_DECL_PUTC_UNLOCKED + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `fprintf_unlocked' function. */ +#undef HAVE_FPRINTF_UNLOCKED + +/* Define to 1 if you have the `fputc_unlocked' function. */ +#undef HAVE_FPUTC_UNLOCKED + +/* Define to 1 if you have the `fputs_unlocked' function. */ +#undef HAVE_FPUTS_UNLOCKED + +/* Define to 1 if you have the `fwrite_unlocked' function. */ +#undef HAVE_FWRITE_UNLOCKED + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the header file. */ +#undef HAVE_ICONV_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if you have and nl_langinfo(CODESET). */ +#undef HAVE_LANGINFO_CODESET + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define to 1 if libc includes obstacks. */ +#undef HAVE_OBSTACK + +/* Define to 1 if you have the `putc_unlocked' function. */ +#undef HAVE_PUTC_UNLOCKED + +/* Define if you have a working header file. */ +#undef HAVE_STDBOOL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDDEF_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_FILE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define if defines \`uchar'. */ +#undef HAVE_UCHAR + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define if the \`_Bool' type is built-in. */ +#undef HAVE__BOOL + +/* Define to the widest efficient host integer type at least as wide as the + target's size_t type. */ +#undef HOST_WIDE_INT + +/* Define as const if the declaration of iconv() needs const. */ +#undef ICONV_CONST + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* The size of a `int', as computed by sizeof. */ +#undef SIZEOF_INT + +/* The size of a `long', as computed by sizeof. */ +#undef SIZEOF_LONG + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +#undef STACK_DIRECTION + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define if you can safely include both and . */ +#undef STRING_WITH_STRINGS + +/* Define to 1 if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + +/* Version number of package */ +#undef VERSION + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif + +/* Define to `long' if does not define. */ +#undef off_t + +/* Define to `unsigned' if does not define. */ +#undef size_t diff --git a/libcpp/configure b/libcpp/configure new file mode 100755 index 00000000000..713d13935dd --- /dev/null +++ b/libcpp/configure @@ -0,0 +1,8776 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.59 for cpplib . +# +# Report bugs to . +# +# Copyright (C) 2003 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +exec 6>&1 + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_config_libobj_dir=. +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Identity of this package. +PACKAGE_NAME='cpplib' +PACKAGE_TARNAME='cpplib' +PACKAGE_VERSION=' ' +PACKAGE_STRING='cpplib ' +PACKAGE_BUGREPORT='gcc-bugs@gcc.gnu.org' + +ac_unique_file="ucnid.h" +# Factoring default headers for most tests. +ac_includes_default="\ +#include +#if HAVE_SYS_TYPES_H +# include +#endif +#if HAVE_SYS_STAT_H +# include +#endif +#if STDC_HEADERS +# include +# include +#else +# if HAVE_STDLIB_H +# include +# endif +#endif +#if HAVE_STRING_H +# if !STDC_HEADERS && HAVE_MEMORY_H +# include +# endif +# include +#endif +#if HAVE_STRINGS_H +# include +#endif +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif +#if HAVE_UNISTD_H +# include +#endif" + +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS LIBICONV LTLIBICONV ENABLE_NLS_TRUE ENABLE_NLS_FALSE LTLIBOBJS' +ac_subst_files='' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +ac_prev= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_option in + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; + + -enable-* | --enable-*) + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "enable_$ac_feature='$ac_optarg'" ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package| sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "with_$ac_package='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/-/_/g'` + eval "with_$ac_package=no" ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_confdir=`(dirname "$0") 2>/dev/null || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 + { (exit 1); exit 1; }; } + else + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } + fi +fi +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures cpplib to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +_ACEOF + + cat <<_ACEOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +_ACEOF + + cat <<\_ACEOF + +Program names: + --program-prefix=PREFIX prepend PREFIX to installed program names + --program-suffix=SUFFIX append SUFFIX to installed program names + --program-transform-name=PROGRAM run sed PROGRAM on installed program names + +System types: + --build=BUILD configure for building on BUILD [guessed] + --host=HOST cross-compile to build programs to run on HOST [BUILD] + --target=TARGET configure for building compilers for TARGET [HOST] +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of cpplib :";; + esac + cat <<\_ACEOF + +Optional Features: + --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) + --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-maintainer-mode enable make rules and dependencies not useful + (and sometimes confusing) to the casual installer + --disable-dependency-tracking speeds up one-time build + --enable-dependency-tracking do not reject slow dependency extractors + --disable-rpath do not hardcode runtime library paths + --enable-checking enable expensive run-time checks + +Optional Packages: + --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] + --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) + --with-gnu-ld assume the C compiler uses GNU ld default=no + --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib + --without-libiconv-prefix don't search for libiconv in includedir and libdir + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have + headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +Report bugs to . +_ACEOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d $ac_dir || continue + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + cd $ac_dir + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_srcdir/configure.gnu; then + echo + $SHELL $ac_srcdir/configure.gnu --help=recursive + elif test -f $ac_srcdir/configure; then + echo + $SHELL $ac_srcdir/configure --help=recursive + elif test -f $ac_srcdir/configure.ac || + test -f $ac_srcdir/configure.in; then + echo + $ac_configure --help + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi + cd "$ac_popdir" + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\_ACEOF +cpplib configure +generated by GNU Autoconf 2.59 + +Copyright (C) 2003 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit 0 +fi +exec 5>config.log +cat >&5 <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by cpplib $as_me , which was +generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ + +_ACEOF +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_sep= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Be sure not to use single quotes in there, as some shells, +# such as our DU 5.0 friend, will then `close' the trap. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + sed "/^$/d" confdefs.h | sort + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core && + rm -rf conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f $ac_dir/shtool; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. + +# Make sure we can run config.sub. +$ac_config_sub sun4 >/dev/null 2>&1 || + { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 +echo "$as_me: error: cannot run $ac_config_sub" >&2;} + { (exit 1); exit 1; }; } + +echo "$as_me:$LINENO: checking build system type" >&5 +echo $ECHO_N "checking build system type... $ECHO_C" >&6 +if test "${ac_cv_build+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_build_alias=$build_alias +test -z "$ac_cv_build_alias" && + ac_cv_build_alias=`$ac_config_guess` +test -z "$ac_cv_build_alias" && + { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 +echo "$as_me: error: cannot guess build type; you must specify one" >&2;} + { (exit 1); exit 1; }; } +ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:$LINENO: result: $ac_cv_build" >&5 +echo "${ECHO_T}$ac_cv_build" >&6 +build=$ac_cv_build +build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + +echo "$as_me:$LINENO: checking host system type" >&5 +echo $ECHO_N "checking host system type... $ECHO_C" >&6 +if test "${ac_cv_host+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_host_alias=$host_alias +test -z "$ac_cv_host_alias" && + ac_cv_host_alias=$ac_cv_build_alias +ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:$LINENO: result: $ac_cv_host" >&5 +echo "${ECHO_T}$ac_cv_host" >&6 +host=$ac_cv_host +host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + +echo "$as_me:$LINENO: checking target system type" >&5 +echo $ECHO_N "checking target system type... $ECHO_C" >&6 +if test "${ac_cv_target+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_target_alias=$target_alias +test "x$ac_cv_target_alias" = "x" && + ac_cv_target_alias=$ac_cv_host_alias +ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || + { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 +echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} + { (exit 1); exit 1; }; } + +fi +echo "$as_me:$LINENO: result: $ac_cv_target" >&5 +echo "${ECHO_T}$ac_cv_target" >&6 +target=$ac_cv_target +target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` + + +# The aliases save the names the user supplied, while $host etc. +# will get canonicalized. +test -n "$target_alias" && + test "$program_prefix$program_suffix$program_transform_name" = \ + NONENONEs,x,x, && + program_prefix=${target_alias}- +am__api_version="1.8" +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL=$ac_install_sh + fi +fi +echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +echo "$as_me:$LINENO: checking whether build environment is sane" >&5 +echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 +# Just in case +sleep 1 +echo timestamp > conftest.file +# Do `set' in a subshell so we don't clobber the current shell's +# arguments. Must try -L first in case configure is actually a +# symlink; some systems play weird games with the mod time of symlinks +# (eg FreeBSD returns the mod time of the symlink's containing +# directory). +if ( + set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` + if test "$*" = "X"; then + # -L didn't work. + set X `ls -t $srcdir/configure conftest.file` + fi + rm -f conftest.file + if test "$*" != "X $srcdir/configure conftest.file" \ + && test "$*" != "X conftest.file $srcdir/configure"; then + + # If neither matched, then we have a broken ls. This can happen + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". + { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&5 +echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken +alias in your environment" >&2;} + { (exit 1); exit 1; }; } + fi + + test "$2" = conftest.file + ) +then + # Ok. + : +else + { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! +Check your system clock" >&5 +echo "$as_me: error: newly created file is older than distributed files! +Check your system clock" >&2;} + { (exit 1); exit 1; }; } +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 +test "$program_prefix" != NONE && + program_transform_name="s,^,$program_prefix,;$program_transform_name" +# Use a double $ so make ignores it. +test "$program_suffix" != NONE && + program_transform_name="s,\$,$program_suffix,;$program_transform_name" +# Double any \ or $. echo might interpret backslashes. +# By default was `s,x,x', remove it if useless. +cat <<\_ACEOF >conftest.sed +s/[\\$]/&&/g;s/;s,x,x,$// +_ACEOF +program_transform_name=`echo $program_transform_name | sed -f conftest.sed` +rm conftest.sed + +# expand $ac_aux_dir to an absolute path +am_aux_dir=`cd $ac_aux_dir && pwd` + +test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" +# Use eval to expand $SHELL +if eval "$MISSING --run true"; then + am_missing_run="$MISSING --run " +else + am_missing_run= + { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 +echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} +fi + +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then + # Keeping the `.' argument allows $(mkdir_p) to be used without + # argument. Indeed, we sometimes output rules like + # $(mkdir_p) $(somedir) + # where $(somedir) is conditionally defined. + # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more + # expensive solution, as it forces Make to start a sub-shell.) + mkdir_p='mkdir -p -- .' +else + # On NextStep and OpenStep, the `mkdir' command does not + # recognize any option. It will interpret all options as + # directories to create, and then abort because `.' already + # exists. + for d in ./-p ./--version; + do + test -d $d && rmdir $d + done + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. + if test -f "$ac_aux_dir/mkinstalldirs"; then + mkdir_p='$(mkinstalldirs)' + else + mkdir_p='$(install_sh) -d' + fi +fi + +for ac_prog in gawk mawk nawk awk +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_AWK+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$AWK"; then + ac_cv_prog_AWK="$AWK" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_AWK="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +AWK=$ac_cv_prog_AWK +if test -n "$AWK"; then + echo "$as_me:$LINENO: result: $AWK" >&5 +echo "${ECHO_T}$AWK" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$AWK" && break +done + +echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 +set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` +if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.make <<\_ACEOF +all: + @echo 'ac_maketemp="$(MAKE)"' +_ACEOF +# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` +if test -n "$ac_maketemp"; then + eval ac_cv_prog_make_${ac_make}_set=yes +else + eval ac_cv_prog_make_${ac_make}_set=no +fi +rm -f conftest.make +fi +if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + SET_MAKE= +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 + SET_MAKE="MAKE=${MAKE-make}" +fi + +rm -rf .tst 2>/dev/null +mkdir .tst 2>/dev/null +if test -d .tst; then + am__leading_dot=. +else + am__leading_dot=_ +fi +rmdir .tst 2>/dev/null + +# test to see if srcdir already configured +if test "`cd $srcdir && pwd`" != "`pwd`" && + test -f $srcdir/config.status; then + { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 +echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} + { (exit 1); exit 1; }; } +fi + +# test whether we have cygpath +if test -z "$CYGPATH_W"; then + if (cygpath --version) >/dev/null 2>/dev/null; then + CYGPATH_W='cygpath -w' + else + CYGPATH_W=echo + fi +fi + + +# Define the identity of the package. + PACKAGE='cpplib' + VERSION=' ' + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE "$PACKAGE" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define VERSION "$VERSION" +_ACEOF + +# Some tools Automake needs. + +ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} + + +AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} + + +AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} + + +AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} + + +MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} + + +AMTAR=${AMTAR-"${am_missing_run}tar"} + +install_sh=${install_sh-"$am_aux_dir/install-sh"} + +# Installed binaries are usually stripped using `strip' when the user +# run `make install-strip'. However `strip' might not be the right +# tool to use in cross-compilation environments, therefore Automake +# will honor the `STRIP' environment variable to overrule this program. +if test "$cross_compiling" != no; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. +set dummy ${ac_tool_prefix}strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$STRIP"; then + ac_cv_prog_STRIP="$STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +STRIP=$ac_cv_prog_STRIP +if test -n "$STRIP"; then + echo "$as_me:$LINENO: result: $STRIP" >&5 +echo "${ECHO_T}$STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_STRIP"; then + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. +set dummy strip; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_STRIP"; then + ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_STRIP="strip" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" +fi +fi +ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP +if test -n "$ac_ct_STRIP"; then + echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 +echo "${ECHO_T}$ac_ct_STRIP" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + STRIP=$ac_ct_STRIP +else + STRIP="$ac_cv_prog_STRIP" +fi + +fi +INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" + +# We need awk for the "check" target. The system "awk" is bad on +# some platforms. + + + +echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 +echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 + # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. +if test "${enable_maintainer_mode+set}" = set; then + enableval="$enable_maintainer_mode" + USE_MAINTAINER_MODE=$enableval +else + USE_MAINTAINER_MODE=no +fi; + echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 +echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6 + + +if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= + MAINTAINER_MODE_FALSE='#' +else + MAINTAINER_MODE_TRUE='#' + MAINTAINER_MODE_FALSE= +fi + + MAINT=$MAINTAINER_MODE_TRUE + + + +# Checks for programs. +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_CC" && break +done + + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. + +# Be careful to initialize this variable, since it used to be cached. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. +ac_cv_exeext= +# b.out is created by i960 compilers. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) + ;; + conftest.$ac_ext ) + # This is the source file. + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; + * ) + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +DEPDIR="${am__leading_dot}deps" + + ac_config_commands="$ac_config_commands depfiles" + + +am_make=${MAKE-make} +cat > confinc << 'END' +am__doit: + @echo done +.PHONY: am__doit +END +# If we don't find an include directive, just comment out the code. +echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 +echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6 +am__include="#" +am__quote= +_am_result=none +# First try GNU make style include. +echo "include confinc" > confmf +# We grep out `Entering directory' and `Leaving directory' +# messages which can occur if `w' ends up in MAKEFLAGS. +# In particular we don't look at `^make:' because GNU make might +# be invoked under some other name (usually "gmake"), in which +# case it prints its new name instead of `make'. +if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then + am__include=include + am__quote= + _am_result=GNU +fi +# Now try BSD make style include. +if test "$am__include" = "#"; then + echo '.include "confinc"' > confmf + if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then + am__include=.include + am__quote="\"" + _am_result=BSD + fi +fi + + +echo "$as_me:$LINENO: result: $_am_result" >&5 +echo "${ECHO_T}$_am_result" >&6 +rm -f confinc confmf + +# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given. +if test "${enable_dependency_tracking+set}" = set; then + enableval="$enable_dependency_tracking" + +fi; +if test "x$enable_dependency_tracking" != xno; then + am_depcomp="$ac_aux_dir/depcomp" + AMDEPBACKSLASH='\' +fi + + +if test "x$enable_dependency_tracking" != xno; then + AMDEP_TRUE= + AMDEP_FALSE='#' +else + AMDEP_TRUE='#' + AMDEP_FALSE= +fi + + + + +depcc="$CC" am_compiler_list= + +echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 +echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6 +if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then + # We make a subdir and do the tests there. Otherwise we can end up + # making bogus files that we don't know about and never remove. For + # instance it was reported that on HP-UX the gcc test will end up + # making a dummy file named `D' -- because `-MD' means `put the output + # in D'. + mkdir conftest.dir + # Copy depcomp to subdir because otherwise we won't find it if we're + # using a relative directory. + cp "$am_depcomp" conftest.dir + cd conftest.dir + # We will build objects and dependencies in a subdirectory because + # it helps to detect inapplicable dependency modes. For instance + # both Tru64's cc and ICC support -MD to output dependencies as a + # side effect of compilation, but ICC will put the dependencies in + # the current directory while Tru64 will put them in the object + # directory. + mkdir sub + + am_cv_CC_dependencies_compiler_type=none + if test "$am_compiler_list" = ""; then + am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` + fi + for depmode in $am_compiler_list; do + # Setup a source with many dependencies, because some compilers + # like to wrap large dependency lists on column 80 (with \), and + # we should not choose a depcomp mode which is confused by this. + # + # We need to recreate these files for each test, as the compiler may + # overwrite some of them when testing with obscure command lines. + # This happens at least with the AIX C compiler. + : > sub/conftest.c + for i in 1 2 3 4 5 6; do + echo '#include "conftst'$i'.h"' >> sub/conftest.c + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with + # Solaris 8's {/usr,}/bin/sh. + touch sub/conftst$i.h + done + echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf + + case $depmode in + nosideeffect) + # after this tag, mechanisms are not by side-effect, so they'll + # only be used when explicitly requested + if test "x$enable_dependency_tracking" = xyes; then + continue + else + break + fi + ;; + none) break ;; + esac + # We check with `-c' and `-o' for the sake of the "dashmstdout" + # mode. It turns out that the SunPro C++ compiler does not properly + # handle `-M -o', and we need to detect this. + if depmode=$depmode \ + source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ + depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ + $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ + >/dev/null 2>conftest.err && + grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && + grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && + ${MAKE-make} -s -f confmf > /dev/null 2>&1; then + # icc doesn't choke on unknown options, it will just issue warnings + # or remarks (even with -Werror). So we grep stderr for any message + # that says an option was ignored or not supported. + # When given -MP, icc 7.0 and 7.1 complain thusly: + # icc: Command line warning: ignoring option '-M'; no argument required + # The diagnosis changed in icc 8.0: + # icc: Command line remark: option '-MP' not supported + if (grep 'ignoring option' conftest.err || + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else + am_cv_CC_dependencies_compiler_type=$depmode + break + fi + fi + done + + cd .. + rm -rf conftest.dir +else + am_cv_CC_dependencies_compiler_type=none +fi + +fi +echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 +echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6 +CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + + + +if + test "x$enable_dependency_tracking" != xno \ + && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then + am__fastdepCC_TRUE= + am__fastdepCC_FALSE='#' +else + am__fastdepCC_TRUE='#' + am__fastdepCC_FALSE= +fi + + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + +# Checks for header files. + +echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 +echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 +if test "${ac_cv_header_time+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include + +int +main () +{ +if ((struct tm *) 0) +return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_time=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_time=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 +echo "${ECHO_T}$ac_cv_header_time" >&6 +if test $ac_cv_header_time = yes; then + +cat >>confdefs.h <<\_ACEOF +#define TIME_WITH_SYS_TIME 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5 +echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6 +if test "${gcc_cv_header_string+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gcc_cv_header_string=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gcc_cv_header_string=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5 +echo "${ECHO_T}$gcc_cv_header_string" >&6 +if test $gcc_cv_header_string = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STRING_WITH_STRINGS 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for working stdbool.h" >&5 +echo $ECHO_N "checking for working stdbool.h... $ECHO_C" >&6 +if test "${ac_cv_header_stdbool_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +bool foo = false; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdbool_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdbool_h=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5 +echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6 +if test $ac_cv_header_stdbool_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_STDBOOL_H 1 +_ACEOF + +fi +echo "$as_me:$LINENO: checking for built-in _Bool" >&5 +echo $ECHO_N "checking for built-in _Bool... $ECHO_C" >&6 +if test "${gcc_cv_c__bool+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +_Bool foo; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + gcc_cv_c__bool=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +gcc_cv_c__bool=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $gcc_cv_c__bool" >&5 +echo "${ECHO_T}$gcc_cv_c__bool" >&6 +if test $gcc_cv_c__bool = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE__BOOL 1 +_ACEOF + +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. + + + + + + + + + +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default + +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_Header=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_Header=no" +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + + + + + + + + + +for ac_header in iconv.h locale.h fcntl.h limits.h stddef.h \ + stdlib.h strings.h string.h sys/file.h unistd.h +do +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 +else + # Is the header compilable? +echo "$as_me:$LINENO: checking $ac_header usability" >&5 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +#include <$ac_header> +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_header_compiler=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_header_compiler=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 +echo "${ECHO_T}$ac_header_compiler" >&6 + +# Is the header present? +echo "$as_me:$LINENO: checking $ac_header presence" >&5 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include <$ac_header> +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + ac_header_preproc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 +echo "${ECHO_T}$ac_header_preproc" >&6 + +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in + yes:no: ) + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} + ac_header_preproc=yes + ;; + no:yes:* ) + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} + ( + cat <<\_ASBOX +## ----------------------------------- ## +## Report this to gcc-bugs@gcc.gnu.org ## +## ----------------------------------- ## +_ASBOX + ) | + sed "s/^/$as_me: WARNING: /" >&2 + ;; +esac +echo "$as_me:$LINENO: checking for $ac_header" >&5 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 +if eval "test \"\${$as_ac_Header+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + eval "$as_ac_Header=\$ac_header_preproc" +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 + +fi +if test `eval echo '${'$as_ac_Header'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + +# Checks for typedefs, structures, and compiler characteristics. +echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 +if test "${ac_cv_c_const+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +/* FIXME: Include the comments suggested by Paul. */ +#ifndef __cplusplus + /* Ultrix mips cc rejects this. */ + typedef int charset[2]; + const charset x; + /* SunOS 4.1.1 cc rejects this. */ + char const *const *ccp; + char **p; + /* NEC SVR4.0.2 mips cc rejects this. */ + struct point {int x, y;}; + static struct point const zero = {0,0}; + /* AIX XL C 1.02.0.0 rejects this. + It does not let you subtract one const X* pointer from another in + an arm of an if-expression whose if-part is not a constant + expression */ + const char *g = "string"; + ccp = &g + (g ? g-g : 0); + /* HPUX 7.0 cc rejects these. */ + ++ccp; + p = (char**) ccp; + ccp = (char const *const *) p; + { /* SCO 3.2v4 cc rejects this. */ + char *t; + char const *s = 0 ? (char *) 0 : (char const *) 0; + + *t++ = 0; + } + { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ + int x[] = {25, 17}; + const int *foo = &x[0]; + ++foo; + } + { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ + typedef const int *iptr; + iptr p = 0; + ++p; + } + { /* AIX XL C 1.02.0.0 rejects this saying + "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ + struct s { int j; const int *ap[3]; }; + struct s *b; b->j = 5; + } + { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ + const int foo = 10; + } +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_const=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_c_const=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +echo "${ECHO_T}$ac_cv_c_const" >&6 +if test $ac_cv_c_const = no; then + +cat >>confdefs.h <<\_ACEOF +#define const +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for inline" >&5 +echo $ECHO_N "checking for inline... $ECHO_C" >&6 +if test "${ac_cv_c_inline+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_inline=$ac_kw; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +echo "${ECHO_T}$ac_cv_c_inline" >&6 + + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + +echo "$as_me:$LINENO: checking for obstacks" >&5 +echo $ECHO_N "checking for obstacks... $ECHO_C" >&6 +if test "${ac_cv_func_obstack+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include "obstack.h" +int +main () +{ +struct obstack *mem; obstack_free(mem,(char *) 0) + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_obstack=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_obstack=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5 +echo "${ECHO_T}$ac_cv_func_obstack" >&6 +if test $ac_cv_func_obstack = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_OBSTACK 1 +_ACEOF + +else + case $LIBOBJS in + "obstack.$ac_objext" | \ + *" obstack.$ac_objext" | \ + "obstack.$ac_objext "* | \ + *" obstack.$ac_objext "* ) ;; + *) LIBOBJS="$LIBOBJS obstack.$ac_objext" ;; +esac + +fi + +echo "$as_me:$LINENO: checking for off_t" >&5 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6 +if test "${ac_cv_type_off_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((off_t *) 0) + return 0; +if (sizeof (off_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_off_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_off_t=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5 +echo "${ECHO_T}$ac_cv_type_off_t" >&6 +if test $ac_cv_type_off_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define off_t long +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for size_t" >&5 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6 +if test "${ac_cv_type_size_t+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((size_t *) 0) + return 0; +if (sizeof (size_t)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_size_t=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_size_t=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 +echo "${ECHO_T}$ac_cv_type_size_t" >&6 +if test $ac_cv_type_size_t = yes; then + : +else + +cat >>confdefs.h <<_ACEOF +#define size_t unsigned +_ACEOF + +fi + +echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 +echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 +if test "${ac_cv_struct_tm+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include + +int +main () +{ +struct tm *tp; tp->tm_sec; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_struct_tm=time.h +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_struct_tm=sys/time.h +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 +echo "${ECHO_T}$ac_cv_struct_tm" >&6 +if test $ac_cv_struct_tm = sys/time.h; then + +cat >>confdefs.h <<\_ACEOF +#define TM_IN_SYS_TIME 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for int" >&5 +echo $ECHO_N "checking for int... $ECHO_C" >&6 +if test "${ac_cv_type_int+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((int *) 0) + return 0; +if (sizeof (int)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_int=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_int=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 +echo "${ECHO_T}$ac_cv_type_int" >&6 + +echo "$as_me:$LINENO: checking size of int" >&5 +echo $ECHO_N "checking size of int... $ECHO_C" >&6 +if test "${ac_cv_sizeof_int+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$ac_cv_type_int" = yes; then + # The cast to unsigned long works around a bug in the HP C Compiler + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo= ac_hi= +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo=`expr '(' $ac_mid ')' + 1` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_int=$ac_lo;; +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (int), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } ;; +esac +else + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 +echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +long longval () { return (long) (sizeof (int)); } +unsigned long ulongval () { return (long) (sizeof (int)); } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + exit (1); + if (((long) (sizeof (int))) < 0) + { + long i = longval (); + if (i != ((long) (sizeof (int)))) + exit (1); + fprintf (f, "%ld\n", i); + } + else + { + unsigned long i = ulongval (); + if (i != ((long) (sizeof (int)))) + exit (1); + fprintf (f, "%lu\n", i); + } + exit (ferror (f) || fclose (f) != 0); + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_int=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (int), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.val +else + ac_cv_sizeof_int=0 +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 +echo "${ECHO_T}$ac_cv_sizeof_int" >&6 +cat >>confdefs.h <<_ACEOF +#define SIZEOF_INT $ac_cv_sizeof_int +_ACEOF + + +echo "$as_me:$LINENO: checking for long" >&5 +echo $ECHO_N "checking for long... $ECHO_C" >&6 +if test "${ac_cv_type_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +if ((long *) 0) + return 0; +if (sizeof (long)) + return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_long=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_long=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 +echo "${ECHO_T}$ac_cv_type_long" >&6 + +echo "$as_me:$LINENO: checking size of long" >&5 +echo $ECHO_N "checking size of long... $ECHO_C" >&6 +if test "${ac_cv_sizeof_long+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$ac_cv_type_long" = yes; then + # The cast to unsigned long works around a bug in the HP C Compiler + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=0 ac_mid=0 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo=`expr $ac_mid + 1` + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid + 1` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=-1 ac_mid=-1 + while :; do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_lo=$ac_mid; break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_hi=`expr '(' $ac_mid ')' - 1` + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + ac_mid=`expr 2 '*' $ac_mid` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo= ac_hi= +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)]; +test_array [0] = 0 + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_hi=$ac_mid +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_lo=`expr '(' $ac_mid ')' + 1` +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in +?*) ac_cv_sizeof_long=$ac_lo;; +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } ;; +esac +else + if test "$cross_compiling" = yes; then + { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5 +echo "$as_me: error: internal error: not reached in cross-compile" >&2;} + { (exit 1); exit 1; }; } +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +long longval () { return (long) (sizeof (long)); } +unsigned long ulongval () { return (long) (sizeof (long)); } +#include +#include +int +main () +{ + + FILE *f = fopen ("conftest.val", "w"); + if (! f) + exit (1); + if (((long) (sizeof (long))) < 0) + { + long i = longval (); + if (i != ((long) (sizeof (long)))) + exit (1); + fprintf (f, "%ld\n", i); + } + else + { + unsigned long i = ulongval (); + if (i != ((long) (sizeof (long)))) + exit (1); + fprintf (f, "%lu\n", i); + } + exit (ferror (f) || fclose (f) != 0); + + ; + return 0; +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_sizeof_long=`cat conftest.val` +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute sizeof (long), 77 +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +rm -f conftest.val +else + ac_cv_sizeof_long=0 +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6 +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG $ac_cv_sizeof_long +_ACEOF + + + + + + + +for ac_func in putc_unlocked fputc_unlocked fputs_unlocked \ + fwrite_unlocked fprintf_unlocked +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + +echo "$as_me:$LINENO: checking whether abort is declared" >&5 +echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_abort+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef abort + char *p = (char *) abort; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_abort=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_abort=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5 +echo "${ECHO_T}$ac_cv_have_decl_abort" >&6 +if test $ac_cv_have_decl_abort = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ABORT 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ABORT 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether errno is declared" >&5 +echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_errno+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef errno + char *p = (char *) errno; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_errno=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_errno=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5 +echo "${ECHO_T}$ac_cv_have_decl_errno" >&6 +if test $ac_cv_have_decl_errno = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ERRNO 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_ERRNO 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5 +echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef putc_unlocked + char *p = (char *) putc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_putc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_putc_unlocked=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6 +if test $ac_cv_have_decl_putc_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_PUTC_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5 +echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fputc_unlocked + char *p = (char *) fputc_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fputc_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fputc_unlocked=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6 +if test $ac_cv_have_decl_fputc_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTC_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5 +echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fputs_unlocked + char *p = (char *) fputs_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fputs_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fputs_unlocked=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6 +if test $ac_cv_have_decl_fputs_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPUTS_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5 +echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fwrite_unlocked + char *p = (char *) fwrite_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fwrite_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fwrite_unlocked=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6 +if test $ac_cv_have_decl_fwrite_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FWRITE_UNLOCKED 0 +_ACEOF + + +fi +echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5 +echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6 +if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_includes_default +int +main () +{ +#ifndef fprintf_unlocked + char *p = (char *) fprintf_unlocked; +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_have_decl_fprintf_unlocked=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_have_decl_fprintf_unlocked=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5 +echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6 +if test $ac_cv_have_decl_fprintf_unlocked = yes; then + +cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPRINTF_UNLOCKED 1 +_ACEOF + + +else + cat >>confdefs.h <<_ACEOF +#define HAVE_DECL_FPRINTF_UNLOCKED 0 +_ACEOF + + +fi + + + +# Checks for library functions. +# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works +# for constant arguments. Useless! +echo "$as_me:$LINENO: checking for working alloca.h" >&5 +echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 +if test "${ac_cv_working_alloca_h+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char *p = (char *) alloca (2 * sizeof (int)); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_working_alloca_h=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_working_alloca_h=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 +echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 +if test $ac_cv_working_alloca_h = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA_H 1 +_ACEOF + +fi + +echo "$as_me:$LINENO: checking for alloca" >&5 +echo $ECHO_N "checking for alloca... $ECHO_C" >&6 +if test "${ac_cv_func_alloca_works+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __GNUC__ +# define alloca __builtin_alloca +#else +# ifdef _MSC_VER +# include +# define alloca _alloca +# else +# if HAVE_ALLOCA_H +# include +# else +# ifdef _AIX + #pragma alloca +# else +# ifndef alloca /* predefined by HP cc +Olibcalls */ +char *alloca (); +# endif +# endif +# endif +# endif +#endif + +int +main () +{ +char *p = (char *) alloca (1); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_alloca_works=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_alloca_works=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 +echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 + +if test $ac_cv_func_alloca_works = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ALLOCA 1 +_ACEOF + +else + # The SVR3 libPW and SVR4 libucb both contain incompatible functions +# that cause trouble. Some versions do not even contain alloca or +# contain a buggy version. If you still want to use their alloca, +# use ar to extract alloca.o from them instead of compiling alloca.c. + +ALLOCA=alloca.$ac_objext + +cat >>confdefs.h <<\_ACEOF +#define C_ALLOCA 1 +_ACEOF + + +echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 +echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 +if test "${ac_cv_os_cray+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#if defined(CRAY) && ! defined(CRAY2) +webecray +#else +wenotbecray +#endif + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "webecray" >/dev/null 2>&1; then + ac_cv_os_cray=yes +else + ac_cv_os_cray=no +fi +rm -f conftest* + +fi +echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 +echo "${ECHO_T}$ac_cv_os_cray" >&6 +if test $ac_cv_os_cray = yes; then + for ac_func in _getb67 GETB67 getb67; do + as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + +cat >>confdefs.h <<_ACEOF +#define CRAY_STACKSEG_END $ac_func +_ACEOF + + break +fi + + done +fi + +echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 +echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 +if test "${ac_cv_c_stack_direction+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test "$cross_compiling" = yes; then + ac_cv_c_stack_direction=0 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +int +find_stack_direction () +{ + static char *addr = 0; + auto char dummy; + if (addr == 0) + { + addr = &dummy; + return find_stack_direction (); + } + else + return (&dummy > addr) ? 1 : -1; +} + +int +main () +{ + exit (find_stack_direction () < 0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_c_stack_direction=1 +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_c_stack_direction=-1 +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 +echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 + +cat >>confdefs.h <<_ACEOF +#define STACK_DIRECTION $ac_cv_c_stack_direction +_ACEOF + + +fi + +echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 +if test "${ac_cv_header_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_header_stdc=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_header_stdc=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "memchr" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include + +_ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then + : +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then + : +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + exit(2); + exit (0); +} +_ACEOF +rm -f conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: program exited with status $ac_status" >&5 +echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +( exit $ac_status ) +ac_cv_header_stdc=no +fi +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +fi +fi +fi +echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +echo "${ECHO_T}$ac_cv_header_stdc" >&6 +if test $ac_cv_header_stdc = yes; then + +cat >>confdefs.h <<\_ACEOF +#define STDC_HEADERS 1 +_ACEOF + +fi + + + echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5 +echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6 +if test "${am_cv_langinfo_codeset+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +int +main () +{ +char* cs = nl_langinfo(CODESET); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_langinfo_codeset=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +am_cv_langinfo_codeset=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +fi +echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5 +echo "${ECHO_T}$am_cv_langinfo_codeset" >&6 + if test $am_cv_langinfo_codeset = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_LANGINFO_CODESET 1 +_ACEOF + + fi + +# If we haven't got the data from the intl directory, +# assume NLS is disabled. +USE_NLS=no +LIBINTL= +LIBINTL_DEP= +INCINTL= +XGETTEXT= +GMSGFMT= +POSUB= +if test -f ../intl/config.intl; then + . ../intl/config.intl +fi +echo "$as_me:$LINENO: checking whether NLS is requested" >&5 +echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6 +if test x"$USE_NLS" != xyes; then + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +else + echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_NLS 1 +_ACEOF + + + echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 +echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6 + # Look for .po and .gmo files in the source directory. + CATALOGS= + XLINGUAS= + for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do + # If there aren't any .gmo files the shell will give us the + # literal string "../path/to/srcdir/po/*.gmo" which has to be + # weeded out. + case "$cat" in *\**) + continue;; + esac + # The quadruple backslash is collapsed to a double backslash + # by the backticks, then collapsed again by the double quotes, + # leaving us with one backslash in the sed expression (right + # before the dot that mustn't act as a wildcard). + cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"` + lang=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"` + # The user is allowed to set LINGUAS to a list of languages to + # install catalogs for. If it's empty that means "all of them." + if test "x$LINGUAS" = x; then + CATALOGS="$CATALOGS $cat" + XLINGUAS="$XLINGUAS $lang" + else + case "$LINGUAS" in *$lang*) + CATALOGS="$CATALOGS $cat" + XLINGUAS="$XLINGUAS $lang" + ;; + esac + fi + done + LINGUAS="$XLINGUAS" + echo "$as_me:$LINENO: result: $LINGUAS" >&5 +echo "${ECHO_T}$LINGUAS" >&6 +fi + +echo "$as_me:$LINENO: checking for uchar" >&5 +echo $ECHO_N "checking for uchar... $ECHO_C" >&6 +if test "${gcc_cv_type_uchar+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include "ansidecl.h" +#include "system.h" + +int +main () +{ +if ((uchar *)0) return 0; + if (sizeof(uchar)) return 0; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_type_uchar=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_type_uchar=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5 +echo "${ECHO_T}$gcc_cv_type_uchar" >&6 +if test $ac_cv_type_uchar = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_UCHAR 1 +_ACEOF + +fi + + + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" + + +# Check whether --with-gnu-ld or --without-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then + withval="$with_gnu_ld" + test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi; +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + echo "$as_me:$LINENO: checking for ld used by GCC" >&5 +echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + echo "$as_me:$LINENO: checking for GNU ld" >&5 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 +else + echo "$as_me:$LINENO: checking for non-GNU ld" >&5 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 +fi +if test "${acl_cv_path_LD+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in + *GNU* | *'with BFD'*) + test "$with_gnu_ld" != no && break ;; + *) + test "$with_gnu_ld" != yes && break ;; + esac + fi + done + IFS="$ac_save_ifs" +else + acl_cv_path_LD="$LD" # Let the user override the test with a path. +fi +fi + +LD="$acl_cv_path_LD" +if test -n "$LD"; then + echo "$as_me:$LINENO: result: $LD" >&5 +echo "${ECHO_T}$LD" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi +test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 +echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} + { (exit 1); exit 1; }; } +echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 +if test "${acl_cv_prog_gnu_ld+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +case `$LD -v 2>&1 &5 +echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6 +with_gnu_ld=$acl_cv_prog_gnu_ld + + + + echo "$as_me:$LINENO: checking for shared library run path origin" >&5 +echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6 +if test "${acl_cv_rpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done + +fi +echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 +echo "${ECHO_T}$acl_cv_rpath" >&6 + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath or --disable-rpath was given. +if test "${enable_rpath+set}" = set; then + enableval="$enable_rpath" + : +else + enable_rpath=yes +fi; + + + + + + + + use_additional=yes + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + +# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then + withval="$with_libiconv_prefix" + + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" + + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi + +fi; + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + else + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + else + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done + fi + fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done + fi + + + + + + + + am_save_CPPFLAGS="$CPPFLAGS" + + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do + + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + + + echo "$as_me:$LINENO: checking for iconv" >&5 +echo $ECHO_N "checking for iconv... $ECHO_C" >&6 +if test "${am_cv_func_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + +fi +echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 +echo "${ECHO_T}$am_cv_func_iconv" >&6 + if test "$am_cv_func_iconv" = yes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_ICONV 1 +_ACEOF + + fi + if test "$am_cv_lib_iconv" = yes; then + echo "$as_me:$LINENO: checking how to link with libiconv" >&5 +echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6 + echo "$as_me:$LINENO: result: $LIBICONV" >&5 +echo "${ECHO_T}$LIBICONV" >&6 + else + CPPFLAGS="$am_save_CPPFLAGS" + LIBICONV= + LTLIBICONV= + fi + + + + if test "$am_cv_func_iconv" = yes; then + echo "$as_me:$LINENO: checking for iconv declaration" >&5 +echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6 + if test "${am_cv_proto_iconv+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + am_cv_proto_iconv_arg1="" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +am_cv_proto_iconv_arg1="const" +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" +fi + + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + echo "$as_me:$LINENO: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +echo "${ECHO_T}${ac_t:- + }$am_cv_proto_iconv" >&6 + +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 +_ACEOF + + fi + + + +if test "x$enable_nls" != xno; then + ENABLE_NLS_TRUE= + ENABLE_NLS_FALSE='#' +else + ENABLE_NLS_TRUE='#' + ENABLE_NLS_FALSE= +fi + +# Check whether --enable-checking or --disable-checking was given. +if test "${enable_checking+set}" = set; then + enableval="$enable_checking" + +else + enable_checking=no +fi; + +if test $enable_checking != no ; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_CHECKING 1 +_ACEOF + +fi + +case $target in + alpha*-*-* | \ + x86_64-*-* | \ + ia64-*-* | \ + hppa*64*-*-* | parisc*64*-*-* | \ + mips*-*-* | \ + mmix-*-* | \ + powerpc*-*-* | \ + rs6000*-*-* | \ + s390*-*-* | \ + sparc64*-*-* | ultrasparc-*-freebsd* | \ + sparcv9-*-solaris2* | \ + sparc-*-solaris2.789 | sparc-*-solaris2.10-9 | \ + sh123456789l*-*-*) + need_64bit_hwint=yes ;; + *) + need_64bit_hwint=no ;; +esac + +case $need_64bit_hwint:$ac_cv_sizeof_long in + *:8 | no:*) host_wide_int=long ;; + *) host_wide_int='long long' ;; +esac + + +cat >>confdefs.h <<_ACEOF +#define HOST_WIDE_INT $host_wide_int +_ACEOF + + + ac_config_headers="$ac_config_headers config.h:config.in" + + ac_config_files="$ac_config_files Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else + if test -w $cache_file; then + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' +fi + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + +if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"AMDEP\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi +if test -z "${ENABLE_NLS_TRUE}" && test -z "${ENABLE_NLS_FALSE}"; then + { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NLS\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +echo "$as_me: error: conditional \"ENABLE_NLS\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi + +: ${CONFIG_STATUS=./config.status} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + +exec 6>&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by cpplib $as_me , which was +generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\_ACEOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +cpplib config.status +configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2003 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=$srcdir +INSTALL="$INSTALL" +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +# +# INIT-COMMANDS section. +# + +AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" + +_ACEOF + + + +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@build_alias@,$build_alias,;t t +s,@host_alias@,$host_alias,;t t +s,@target_alias@,$target_alias,;t t +s,@DEFS@,$DEFS,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@LIBS@,$LIBS,;t t +s,@build@,$build,;t t +s,@build_cpu@,$build_cpu,;t t +s,@build_vendor@,$build_vendor,;t t +s,@build_os@,$build_os,;t t +s,@host@,$host,;t t +s,@host_cpu@,$host_cpu,;t t +s,@host_vendor@,$host_vendor,;t t +s,@host_os@,$host_os,;t t +s,@target@,$target,;t t +s,@target_cpu@,$target_cpu,;t t +s,@target_vendor@,$target_vendor,;t t +s,@target_os@,$target_os,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@CYGPATH_W@,$CYGPATH_W,;t t +s,@PACKAGE@,$PACKAGE,;t t +s,@VERSION@,$VERSION,;t t +s,@ACLOCAL@,$ACLOCAL,;t t +s,@AUTOCONF@,$AUTOCONF,;t t +s,@AUTOMAKE@,$AUTOMAKE,;t t +s,@AUTOHEADER@,$AUTOHEADER,;t t +s,@MAKEINFO@,$MAKEINFO,;t t +s,@AMTAR@,$AMTAR,;t t +s,@install_sh@,$install_sh,;t t +s,@STRIP@,$STRIP,;t t +s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t +s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t +s,@mkdir_p@,$mkdir_p,;t t +s,@AWK@,$AWK,;t t +s,@SET_MAKE@,$SET_MAKE,;t t +s,@am__leading_dot@,$am__leading_dot,;t t +s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t +s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t +s,@MAINT@,$MAINT,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@DEPDIR@,$DEPDIR,;t t +s,@am__include@,$am__include,;t t +s,@am__quote@,$am__quote,;t t +s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t +s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t +s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t +s,@CCDEPMODE@,$CCDEPMODE,;t t +s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t +s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@ALLOCA@,$ALLOCA,;t t +s,@USE_NLS@,$USE_NLS,;t t +s,@LIBINTL@,$LIBINTL,;t t +s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t +s,@INCINTL@,$INCINTL,;t t +s,@XGETTEXT@,$XGETTEXT,;t t +s,@GMSGFMT@,$GMSGFMT,;t t +s,@POSUB@,$POSUB,;t t +s,@CATALOGS@,$CATALOGS,;t t +s,@LIBICONV@,$LIBICONV,;t t +s,@LTLIBICONV@,$LTLIBICONV,;t t +s,@ENABLE_NLS_TRUE@,$ENABLE_NLS_TRUE,;t t +s,@ENABLE_NLS_FALSE@,$ENABLE_NLS_FALSE,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t +CEOF + +_ACEOF + + cat >>$CONFIG_STATUS <<\_ACEOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; + esac + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + # Do quote $f, to prevent DOS paths from being IFS'd. + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +_ACEOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\_ACEOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +_ACEOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed + +# This sed command replaces #undef with comments. This is necessary, for +# example, in the case of _POSIX_SOURCE, which is predefined and required +# on some systems where configure will not decide to define it. +cat >>conftest.undefs <<\_ACEOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +_ACEOF + +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.defines >/dev/null +do + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # grep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS + +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.undefs >/dev/null +do + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs +done +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\_ACEOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +# Compute $ac_file's index in $config_headers. +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $ac_file | $ac_file:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null || +$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X$ac_file : 'X\(//\)[^/]' \| \ + X$ac_file : 'X\(//\)$' \| \ + X$ac_file : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X$ac_file | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'`/stamp-h$_am_stamp_count +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_COMMANDS section. +# +for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue + ac_dest=`echo "$ac_file" | sed 's,:.*,,'` + ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_dir=`(dirname "$ac_dest") 2>/dev/null || +$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_dest" : 'X\(//\)[^/]' \| \ + X"$ac_dest" : 'X\(//\)$' \| \ + X"$ac_dest" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_dest" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 +echo "$as_me: executing $ac_dest commands" >&6;} + case $ac_dest in + depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # So let's grep whole file. + if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then + dirpart=`(dirname "$mf") 2>/dev/null || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + else + continue + fi + grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue + # Extract the definition of DEP_FILES from the Makefile without + # running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" + # We invoke sed twice because it is the simplest approach to + # changing $(DEPDIR) to its actual value in the expansion. + for file in `sed -n ' + /^DEP_FILES = .*\\\\$/ { + s/^DEP_FILES = // + :loop + s/\\\\$// + p + n + /\\\\$/ b loop + p + } + /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`(dirname "$file") 2>/dev/null || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p $dirpart/$fdir + else + as_dir=$dirpart/$fdir + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5 +echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;} + { (exit 1); exit 1; }; }; } + + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done +done + ;; + esac +done +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +{ (exit 0); exit 0; } +_ACEOF +chmod +x $CONFIG_STATUS +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + diff --git a/libcpp/configure.ac b/libcpp/configure.ac new file mode 100644 index 00000000000..79c0e417337 --- /dev/null +++ b/libcpp/configure.ac @@ -0,0 +1,96 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.57) +AC_INIT(cpplib, [ ], gcc-bugs@gcc.gnu.org, cpplib) +AC_CONFIG_SRCDIR(ucnid.h) +AC_CANONICAL_SYSTEM +AM_INIT_AUTOMAKE(foreign) +AM_MAINTAINER_MODE + +# Checks for programs. +AC_PROG_CC +AC_PROG_RANLIB + +# Checks for header files. +AC_HEADER_TIME +ACX_HEADER_STRING +ACX_HEADER_STDBOOL +AC_CHECK_HEADERS(iconv.h locale.h fcntl.h limits.h stddef.h \ + stdlib.h strings.h string.h sys/file.h unistd.h) + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST +AC_C_INLINE +AC_FUNC_OBSTACK +AC_TYPE_OFF_T +AC_TYPE_SIZE_T +AC_STRUCT_TM +AC_CHECK_SIZEOF(int) +AC_CHECK_SIZEOF(long) +AC_CHECK_FUNCS(putc_unlocked fputc_unlocked fputs_unlocked \ + fwrite_unlocked fprintf_unlocked) +AC_CHECK_DECLS([abort, errno, putc_unlocked, fputc_unlocked, + fputs_unlocked, fwrite_unlocked, fprintf_unlocked]) + +# Checks for library functions. +AC_FUNC_ALLOCA +AC_HEADER_STDC +AM_LANGINFO_CODESET +ZW_GNU_GETTEXT_SISTER_DIR + +AC_CACHE_CHECK(for uchar, gcc_cv_type_uchar, +[AC_TRY_COMPILE([ +#include "ansidecl.h" +#include "system.h" +], +[if ((uchar *)0) return 0; + if (sizeof(uchar)) return 0;], +ac_cv_type_uchar=yes, ac_cv_type_uchar=no)]) +if test $ac_cv_type_uchar = yes; then + AC_DEFINE(HAVE_UCHAR, 1, + [Define if defines \`uchar'.]) +fi + +AM_ICONV +AM_CONDITIONAL(ENABLE_NLS, [test "x$enable_nls" != xno]) +AC_ARG_ENABLE(checking, +[ --enable-checking enable expensive run-time checks],, +enable_checking=no) + +if test $enable_checking != no ; then + AC_DEFINE(ENABLE_CHECKING, 1, +[Define if you want more run-time sanity checks.]) +fi + +case $target in + alpha*-*-* | \ + x86_64-*-* | \ + ia64-*-* | \ + hppa*64*-*-* | parisc*64*-*-* | \ + mips*-*-* | \ + mmix-*-* | \ + powerpc*-*-* | \ + rs6000*-*-* | \ + s390*-*-* | \ + sparc64*-*-* | ultrasparc-*-freebsd* | \ + sparcv9-*-solaris2* | \ + sparc-*-solaris2.[789] | sparc-*-solaris2.1[0-9] | \ + sh[123456789l]*-*-*) + need_64bit_hwint=yes ;; + *) + need_64bit_hwint=no ;; +esac + +case $need_64bit_hwint:$ac_cv_sizeof_long in + *:8 | no:*) host_wide_int=long ;; + *) host_wide_int='long long' ;; +esac + +AC_DEFINE_UNQUOTED(HOST_WIDE_INT, $host_wide_int, +[Define to the widest efficient host integer type at least + as wide as the target's size_t type.]) + +AC_CONFIG_HEADERS(config.h:config.in) +AC_CONFIG_FILES(Makefile) +AC_OUTPUT diff --git a/gcc/cpplib.c b/libcpp/directives.c similarity index 99% rename from gcc/cpplib.c rename to libcpp/directives.c index 808dcdaa2b1..f9ff2ce3344 100644 --- a/gcc/cpplib.c +++ b/libcpp/directives.c @@ -22,7 +22,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" #include "obstack.h" /* Chained list of answers to an assertion. */ diff --git a/gcc/cpperror.c b/libcpp/errors.c similarity index 99% rename from gcc/cpperror.c rename to libcpp/errors.c index 362c1c5f2e0..5d53c21b28d 100644 --- a/gcc/cpperror.c +++ b/libcpp/errors.c @@ -26,8 +26,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" -#include "intl.h" +#include "internal.h" static void print_location (cpp_reader *, source_location, unsigned int); diff --git a/gcc/cppexp.c b/libcpp/expr.c similarity index 99% rename from gcc/cppexp.c rename to libcpp/expr.c index 22d34b69416..f49bd082858 100644 --- a/gcc/cppexp.c +++ b/libcpp/expr.c @@ -21,7 +21,7 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" #define PART_PRECISION (sizeof (cpp_num_part) * CHAR_BIT) #define HALF_MASK (~(cpp_num_part) 0 >> (PART_PRECISION / 2)) diff --git a/gcc/cppfiles.c b/libcpp/files.c similarity index 99% rename from gcc/cppfiles.c rename to libcpp/files.c index 65db6db5d57..7d7b271da0e 100644 --- a/gcc/cppfiles.c +++ b/libcpp/files.c @@ -24,8 +24,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" -#include "intl.h" +#include "internal.h" #include "mkdeps.h" #include "hashtab.h" #include "md5.h" @@ -48,10 +47,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ # define set_stdin_to_binary_mode() /* Nothing */ #endif -#ifndef O_BINARY -# define O_BINARY 0 -#endif - /* This structure represents a file searched for by CPP, whether it exists or not. An instance may be pointed to by more than one file_hash_entry; at present no reference count is kept. */ diff --git a/gcc/cpphash.c b/libcpp/identifiers.c similarity index 99% rename from gcc/cpphash.c rename to libcpp/identifiers.c index 1e07f41f7ac..a6b35b4e57c 100644 --- a/gcc/cpphash.c +++ b/libcpp/identifiers.c @@ -26,7 +26,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" static cpp_hashnode *alloc_node (hash_table *); diff --git a/libcpp/include/ChangeLog b/libcpp/include/ChangeLog new file mode 100644 index 00000000000..f6c47fa6daf --- /dev/null +++ b/libcpp/include/ChangeLog @@ -0,0 +1,7 @@ +2004-05-23 Paolo Bonzini + + * cpplib.h: Moved from gcc. Change header guard name. + * line-map.h: Moved from gcc. Change header guard name. + * mkdeps.h: Moved from gcc. Change header guard name. + * symtab.h: Moved from gcc/hashtable.h. Change header + guard name. diff --git a/gcc/cpplib.h b/libcpp/include/cpplib.h similarity index 99% rename from gcc/cpplib.h rename to libcpp/include/cpplib.h index d006192afb3..7f2010483d3 100644 --- a/gcc/cpplib.h +++ b/libcpp/include/cpplib.h @@ -20,11 +20,11 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. In other words, you are welcome to use, share and improve this program. You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! */ -#ifndef GCC_CPPLIB_H -#define GCC_CPPLIB_H +#ifndef LIBCPP_CPPLIB_H +#define LIBCPP_CPPLIB_H #include -#include "hashtable.h" +#include "symtab.h" #include "line-map.h" #ifdef __cplusplus @@ -770,4 +770,4 @@ extern int cpp_read_state (cpp_reader *, const char *, FILE *, } #endif -#endif /* ! GCC_CPPLIB_H */ +#endif /* ! LIBCPP_CPPLIB_H */ diff --git a/gcc/line-map.h b/libcpp/include/line-map.h similarity index 98% rename from gcc/line-map.h rename to libcpp/include/line-map.h index 73631be229f..839467734ef 100644 --- a/gcc/line-map.h +++ b/libcpp/include/line-map.h @@ -20,8 +20,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! */ -#ifndef GCC_LINE_MAP_H -#define GCC_LINE_MAP_H +#ifndef LIBCPP_LINE_MAP_H +#define LIBCPP_LINE_MAP_H /* Reason for adding a line change with add_line_map (). LC_ENTER is when including a new file, e.g. a #include directive in C. @@ -179,4 +179,4 @@ extern void linemap_print_containing_files (struct line_maps *, extern source_location linemap_position_for_column (struct line_maps *set, unsigned int to_column); -#endif /* !GCC_LINE_MAP_H */ +#endif /* !LIBCPP_LINE_MAP_H */ diff --git a/gcc/mkdeps.h b/libcpp/include/mkdeps.h similarity index 97% rename from gcc/mkdeps.h rename to libcpp/include/mkdeps.h index 745ba1f5041..b5f9a05ff80 100644 --- a/gcc/mkdeps.h +++ b/libcpp/include/mkdeps.h @@ -20,8 +20,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. You are forbidden to forbid anyone else to use, share and improve what you give them. Help stamp out software-hoarding! */ -#ifndef GCC_MKDEPS_H -#define GCC_MKDEPS_H +#ifndef LIBCPP_MKDEPS_H +#define LIBCPP_MKDEPS_H /* This is the data structure used by all the functions in mkdeps.c. It's quite straightforward, but should be treated as opaque. */ @@ -69,4 +69,4 @@ extern int deps_restore (struct deps *, FILE *, const char *); automatic dependency schemes. */ extern void deps_phony_targets (const struct deps *, FILE *); -#endif /* ! GCC_MKDEPS_H */ +#endif /* ! LIBCPP_MKDEPS_H */ diff --git a/gcc/hashtable.h b/libcpp/include/symtab.h similarity index 97% rename from gcc/hashtable.h rename to libcpp/include/symtab.h index 8efbf5c50e2..8b793320b56 100644 --- a/gcc/hashtable.h +++ b/libcpp/include/symtab.h @@ -15,8 +15,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef GCC_HASHTABLE_H -#define GCC_HASHTABLE_H +#ifndef LIBCPP_SYMTAB_H +#define LIBCPP_SYMTAB_H #include "obstack.h" #define GTY(x) /* nothing */ @@ -78,4 +78,4 @@ extern void ht_forall (hash_table *, ht_cb, const void *); /* Dump allocation statistics to stderr. */ extern void ht_dump_statistics (hash_table *); -#endif /* GCC_HASHTABLE_H */ +#endif /* LIBCPP_SYMTAB_H */ diff --git a/gcc/cppinit.c b/libcpp/init.c similarity index 99% rename from gcc/cppinit.c rename to libcpp/init.c index 55323b4ea9b..d14da4d00ab 100644 --- a/gcc/cppinit.c +++ b/libcpp/init.c @@ -22,7 +22,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" #include "mkdeps.h" static void init_library (void); @@ -119,6 +119,10 @@ init_library (void) we were compiled with a compiler that supports C99 designated initializers. */ init_trigraph_map (); + +#ifdef ENABLE_NLS + (void) bindtextdomain ("gcc", LOCALEDIR); +#endif } } diff --git a/gcc/cpphash.h b/libcpp/internal.h similarity index 99% rename from gcc/cpphash.h rename to libcpp/internal.h index 1c5015173e0..9cd9be57cc4 100644 --- a/gcc/cpphash.h +++ b/libcpp/internal.h @@ -17,13 +17,13 @@ along with this program; if not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* This header defines all the internal data structures and functions - that need to be visible across files. It's called cpphash.h for - historical reasons. */ + that need to be visible across files. It should not be used outside + cpplib. */ -#ifndef GCC_CPPHASH_H -#define GCC_CPPHASH_H +#ifndef LIBCPP_INTERNAL_H +#define LIBCPP_INTERNAL_H -#include "hashtable.h" +#include "symtab.h" #if defined HAVE_ICONV_H && defined HAVE_ICONV #include @@ -648,4 +648,4 @@ ufputs (const uchar *s, FILE *f) return fputs ((const char *)s, f); } -#endif /* ! GCC_CPPHASH_H */ +#endif /* ! LIBCPP_INTERNAL_H */ diff --git a/gcc/cpplex.c b/libcpp/lex.c similarity index 99% rename from gcc/cpplex.c rename to libcpp/lex.c index d03096cdc63..a7d988b2adc 100644 --- a/gcc/cpplex.c +++ b/libcpp/lex.c @@ -22,7 +22,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" enum spell_type { diff --git a/gcc/line-map.c b/libcpp/line-map.c similarity index 99% rename from gcc/line-map.c rename to libcpp/line-map.c index e7d41b652e0..e6dd48df756 100644 --- a/gcc/line-map.c +++ b/libcpp/line-map.c @@ -23,7 +23,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "config.h" #include "system.h" #include "line-map.h" -#include "intl.h" static void trace_include (const struct line_maps *, const struct line_map *); diff --git a/gcc/cppmacro.c b/libcpp/macro.c similarity index 99% rename from gcc/cppmacro.c rename to libcpp/macro.c index e3d0dc37b29..842c15c38f0 100644 --- a/gcc/cppmacro.c +++ b/libcpp/macro.c @@ -26,7 +26,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" typedef struct macro_arg macro_arg; struct macro_arg diff --git a/gcc/mkdeps.c b/libcpp/mkdeps.c similarity index 100% rename from gcc/mkdeps.c rename to libcpp/mkdeps.c diff --git a/gcc/cpppch.c b/libcpp/pch.c similarity index 99% rename from gcc/cpppch.c rename to libcpp/pch.c index 815235c6c40..51175a9a67b 100644 --- a/gcc/cpppch.c +++ b/libcpp/pch.c @@ -18,8 +18,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" -#include "intl.h" +#include "internal.h" #include "hashtab.h" #include "mkdeps.h" diff --git a/libcpp/po/ChangeLog b/libcpp/po/ChangeLog new file mode 100644 index 00000000000..30a39ea5bf7 --- /dev/null +++ b/libcpp/po/ChangeLog @@ -0,0 +1,13 @@ +2004-05-23 Paolo Bonzini + + * be.po: Extracted from gcc/po/be.po. + * ca.po: Extracted from gcc/po/ca.po. + * da.po: Extracted from gcc/po/da.po. + * de.po: Extracted from gcc/po/de.po. + * el.po: Extracted from gcc/po/el.po. + * es.po: Extracted from gcc/po/es.po. + * fr.po: Extracted from gcc/po/fr.po. + * ja.po: Extracted from gcc/po/ja.po. + * nl.po: Extracted from gcc/po/nl.po. + * sv.po: Extracted from gcc/po/sv.po. + * tr.po: Extracted from gcc/po/tr.po. diff --git a/libcpp/po/be.po b/libcpp/po/be.po new file mode 100644 index 00000000000..d9df0253ab7 --- /dev/null +++ b/libcpp/po/be.po @@ -0,0 +1,776 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2002 Free Software Foundation, Inc. +# Ales Nyakhaychyk , 2002. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.1\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2002-05-17 15:54+0200\n" +"Last-Translator: Ales Nyakhaychyk \n" +"Language-Team: Belarusian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "" + +#: cppcharset.c:653 +#, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +msgid "universal character names are only valid in C++ and C99" +msgstr "" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "\"%s\" - гэта не пачатак дэкларацыі" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "невядомая ESC-паслядоўнасць '\\%c'" + +#: cppcharset.c:1116 +#, fuzzy, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "невядомая ESC-паслядоўнасць '\\%c'" + +#: cppcharset.c:1122 +msgid "converting escape sequence to execution character set" +msgstr "" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +#, fuzzy +msgid "character constant too long for its type" +msgstr "сімвальная канстанта вельмі доўгая" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "мнагасімвальная сімвальная канстанта" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "пустая сімвальная канстанта" + +#: cppcharset.c:1378 +#, c-format +msgid "failure to convert %s to %s" +msgstr "" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "" + +#: cpperror.c:112 +msgid "internal error: " +msgstr "" + +#: cpperror.c:174 +#, fuzzy +msgid "stdout" +msgstr "структура" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "" + +#: cppexp.c:212 +#, fuzzy, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "`%E' - нерэчаісная нязьменная тыпу string" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "" + +#: cppexp.c:240 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "`%E' - нерэчаісная нязьменная тыпу string" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "" + +#: cppexp.c:261 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "`%E' - нерэчаісная нязьменная тыпу string" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "" + +#: cppexp.c:714 cppexp.c:743 +#, fuzzy, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "прапушчан прабел пасля нумара \"%.*s\"" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "" + +#: cppexp.c:830 +#, fuzzy, c-format +msgid "impossible operator '%u'" +msgstr "немагчымы апэратар '%s'" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s - гэта блёчная прылада" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s - вельмі вялікі" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "незавершаныя каментарыі" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "" + +#: cpplex.c:1198 +#, fuzzy, c-format +msgid "unspellable token %s" +msgstr "немагу адчыніць файл \"%s\"" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "" + +#: cpplib.c:947 +#, fuzzy +msgid "invalid #ident directive" +msgstr "нерэчаісны ініцыялізатар" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, fuzzy, c-format +msgid "#pragma %s %s is already registered" +msgstr "Клас \"%s\" ужо існуе" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "не магу знайсці крыніцу %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "" + +#: cppmacro.c:221 +#, fuzzy +msgid "could not determine date and time" +msgstr "Немагчыма адчыніць файл з дадзенымі %s.\n" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "адмеціна `%s' выкарыстоўвываецца, але ня вызначана" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "вельмі шмат уваходзячых файлаў" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "" + +#: cpptrad.c:911 +msgid "syntax error in macro parameter list" +msgstr "" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" + diff --git a/libcpp/po/ca.po b/libcpp/po/ca.po new file mode 100644 index 00000000000..7f6936649f9 --- /dev/null +++ b/libcpp/po/ca.po @@ -0,0 +1,792 @@ +# translation of gcc-3.2-ca.po to Catalan +# Catalan translation of gcc. +# Copyright (C) 2003 Free Software Foundation, Inc. +# This file is distributed under the same license as the gcc package. +# Gilles MATEU , 2002. +# Gilles MATEU , 2003. +# Gilles MATEU , 2004. +# +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.3.2\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2004-01-30 00:03+0000\n" +"Last-Translator: Mateu Gilles \n" +"Language-Team: Catalan \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: \n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "C tradicional rebutja l'operador unari mes" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "la conversió de \"%T\" a \"%T\" és ambigua" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "universal-character-name \"\\U%08x\" no és vàlid en l'identificador" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "el significat de \"\\%c\" és diferent en C tradicional" + +#: cppcharset.c:837 +#, fuzzy, c-format +msgid "incomplete universal character name %.*s" +msgstr "universal-character-name incomplet" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "\"%T::%D\" no és una declaració vàlida" + +#: cppcharset.c:859 +#, fuzzy, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "universal-character-name \"\\U%08x\" no és vàlid en l'identificador" + +#: cppcharset.c:863 +#, fuzzy, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "universal-character-name \"\\U%08x\" no és vàlid en l'identificador" + +#: cppcharset.c:898 +#, fuzzy +msgid "converting UCN to source character set" +msgstr "convertint NULL a un tipus que no és apuntador" + +#: cppcharset.c:902 +#, fuzzy +msgid "converting UCN to execution character set" +msgstr "convertint NULL a un tipus que no és apuntador" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "el significat de \"\\x\" és diferent en C tradicional" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "es va usar \\x sense dígits hexadecimales a continuació" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "seqüència d'escapi hexadecimal fora de rang" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "seqüència d'escapi octal fora de rang" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "el significat de \"\\a\" és diferent en C tradicional" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "seqüència d'escapi que no és estàndard ISO, \"\\%c\"" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "seqüència d'escapi \"\\%c\" desconeguda" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "seqüència d'escapi desconeguda: '\\%03o'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "seqüència d'escapi octal fora de rang" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "constant de caràcter massa gran pel seu tipus" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "constant de caràcter amb múltiples caràcters" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "constant de caràter buida" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "no es pot convertir \"%E\" a \"%T\"" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "avís: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "error intern: " + +#: cpperror.c:174 +msgid "stdout" +msgstr "stdout" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "massa punts decimals en el nombre" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "dígit \"%c\" invàlid en la constant octal" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "ús d'una constant de coma flotant hexadecimal C99" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "exponent no té dígits" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "la constant de coma flotant hexadecimal requereixe un exponent" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "sufix \"%.*s\" invàlid en la constant de coma flotant" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "C tradicional rebutja el sufix \"%.*s\"" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "sufix \"%.*s\" invàlid en constant entera" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "ús d'una constant entera long long C99" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "les constants imaginàries són una extensió GCC" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "la constant entera és massa gran per al seu tipus" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "la constant entera és tan gran que és unsigned" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "falta \")\" després de \"defined\"" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "l'operador \"defined\" requereix un identificador" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(\"%s\" és un element alternatiu per a \"%s\" en C++)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "aquest ùs de \"defined\" podria ser no portable" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "constant de coma flotant en l'expressió del preprocessador" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "nombre imaginari en l'expressió del preprocessador" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" no és definit" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "operador binari faltant abans de l'element \"%s\"" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "l'element \"%s\" no és vàlid en les expressions del preprocesador" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "expressión void entre \"(\" i \")\"" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if sense expressió" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "l'operador \"%s\" no té operant de dreta" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr " \":\" sense \"?\" precedent" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "pila desequilibrada en #if" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "operador \"%u\" impossible" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "\")\" faltant en l'expressió" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr " \"?\" sense \":\" següent" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "desbordament d'enter en l'expressió del preprocessador" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "\"(\" faltant en l'expressió" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "l'operant esquerre de \"%s\" canvia el signe quan és promogut" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "l'operant dret de \"%s\" canvia el signe quan és promogut" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "operador coma en operant de #if" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "divisió per zero en #if" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s és un dispositiu de blocs" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s és massa gran" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s és més curt de l'esperat" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "no hi ha ruta d'inclusió en la qual es trobi %s" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "Guàrdies múltiples de include poden ser útils per a:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t deu ser d'un tipus unsigned" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"l'aritmètica del preprocesador té una precisió màxima de %lu bits; " +"l'objectiu requereix %lu bits" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" +"l'aritmètica de CPP deu ser almenys tan precisa com un int de l'objectiu" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "el char de l'objectiu té menys de 8 bits d'ample" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "el wchar_t de l'objectiu és més estret que el char de l'objectiu" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "el int de l'objectiu és més estret que el char de l'objectiu" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "el mitj-enter de CPP és més estret que el caràcter de CPP" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"CPP no pot manejar constants de caràcter amples més enllà de %lu bits en " +"aquestobjectiu, però l'objectiu requereix %lu bits" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "caràter(es) nul(s) ignorats" + +#: cpplex.c:445 +#, fuzzy +msgid "'$' in identifier or number" +msgstr "caràcter/(es) \"$\" en l'identificador o nombre" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "intent d'usar \"%s\" enverinat" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"__VA_ARGS__ solament pot aparèixer en l'expansió d'una macro variadic C99" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "caràcter(es) nul(s) preservats en la literal" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "comentari sense acabar" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "els comentaris d'estil C++ no són permesos en ISO C90" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(això es reportarà solament una vegada per cada fitxer d'entrada)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "comentari en múltiples línies" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "Element %s impronunciable" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "elements extra al final de la directiva #%s" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s és una extenció del GCC" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "es suggereix no usar #elif en C tradicional" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "C tradicional ignora #%s amb el # indentat" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "es suggereix ocultar #%s del C tradicional amb el # indentat" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "l'estil de la directiva de línia és una extenció del GCC" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "directiva de preprocessament #%s invàlida" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "\"defined\" no es pot usar com un nom de macro" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "no es pot usar \"%s\" com un nom de macro perquè és un operador en C++" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "no es va donar un nom de macro en la directiva #%s" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "els noms de macro deuen ser identificadors" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "esborrant la definició de \"%s\"" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "falta el caràcter de terminació >" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s espera \"NOM_DE_FITXER\" o " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include niat amb massa profunditat" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next en el fitxer font primari" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "indicador \"%s\" invàlid en la línia de la directiva" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "\"%s\" desprès de #line no és un enter positiu" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "nombre de línia fora de rang" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" no és un nom de fitxer vàlid" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "\"%s\" desprès de # no és un enter positiu" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "directiva #ident invàlida" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "desant \"%s\" com a pragma i espai de noms de pragma" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "ja s'ha desat #pragma %s %s" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "ja s'ha desat #pragma %s" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma una vegada en el fitxer principal" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "directiva #pragma de GCC enverinada invàlida" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "enverinant la macro existent \"%s\"" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "#pragma system_header ignorat fora del fitxer d'inclusió" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "no es pot trobar la font %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "el fitxer actual és més vell que %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma duu una cadena literal entre parèntesis" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else sense #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else després de #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif sense #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif després de #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif sense #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "falta \"(\" abans del predicat" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "falta \")\" per a completar la resposta" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "el predicat de la resposta està buidor" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "afirmació sense predicat" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "el predicat deu ser un identificador" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "\"%s\" reafirmat" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "macro interna \"%s\" invàlida" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "no es pot determinar la data i l'hora" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "cadena literal invàlida, s'ignora el \"\\\" finals" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "pegar \"%s\" i \"%s\" no dóna un element vàlid de preprocessament" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C99 requereix que la resta dels arguments sigui usat" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "la macro \"%s\" requereix %u arguments, però sol es proporcionen %u" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "la macro \"%s\" va rebre %u arguments, però solament va prendre %u" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "llista d'arguments sense acabar a l'invocar la macro \"%s\"" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "la funció de macro \"%s\" es deu usar amb arguments en C tradicional" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "paràmetre de macro \"%s\" duplicat" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "\"%s\" podria faltar en la llista de paràmetre de macro" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "els paràmetres de macro deuen ser separats per comes" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "falta el nom del paràmetre" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "els macros variadic anònims es van introduir en C99" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C no permet macros variadic nomenats" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "falta parèntesi dret en la llista de paràmetres de macro" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C requereix espais en blanc després del nom de macro" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "\"#\" no és seguit per un paràmetre de macro" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "\"##\" no pot apareixer en o al final d'una expansió de macro" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" +"l'argument de macro \"%s\" deuria ser convertit a cadena en C traditional" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "tipus de hash %d invàlid en cpp_macro_definition" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "s'usa l'etiqueta \"%s\" però no està definida" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "\"%s\" utilitzat però mai definit" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "\"%s\" no es una opció vàlida per el preprocessador" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "massa fitxers d'entrada" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "\"%s\" podria faltar en la llista de paràmetre de macro" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "En el fitxer inclòs dès de %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" dès de %s:%u" + diff --git a/libcpp/po/cpplib.pot b/libcpp/po/cpplib.pot new file mode 100644 index 00000000000..882bc6f6d71 --- /dev/null +++ b/libcpp/po/cpplib.pot @@ -0,0 +1,774 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "" + +#: cppcharset.c:653 +#, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +msgid "universal character names are only valid in C++ and C99" +msgstr "" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "" + +#: cppcharset.c:849 +#, c-format +msgid "%.*s is not a valid universal character" +msgstr "" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "" + +#: cppcharset.c:1122 +msgid "converting escape sequence to execution character set" +msgstr "" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "" + +#: cppcharset.c:1378 +#, c-format +msgid "failure to convert %s to %s" +msgstr "" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "" + +#: cpperror.c:112 +msgid "internal error: " +msgstr "" + +#: cpperror.c:174 +msgid "stdout" +msgstr "" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "" + +#: cpplib.c:1255 +#, c-format +msgid "cannot find source file %s" +msgstr "" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "" + +#: cpptrad.c:911 +msgid "syntax error in macro parameter list" +msgstr "" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" + diff --git a/libcpp/po/da.po b/libcpp/po/da.po new file mode 100644 index 00000000000..d35d6666640 --- /dev/null +++ b/libcpp/po/da.po @@ -0,0 +1,911 @@ +# Danish version of GCC strings. +# Copyright (C) 2002, 03 Free Software Foundation, Inc. +# Ole Laursen , 2001, 02, 03. +# +# Konventioner: +# +# ABI -> binær grænseflade +# ANSI -> (har jeg tilladt mig at opdatere til (modsvarer Info-hjælpen)) ISO +# access -> tilgangs- +# aggregate -> en variabel af en sammensat type (fx struct, class) +# ambigeous -> tvetydig +# arg, argument -> parameter (for ikke at blande sammen med diskussionsargument) +# array -> tabel +# assembler -> maskinkodeoversætter +# assertion -> postulat +# attribute -> egenskab +# base class -> stamklasse +# basic block -> basisblok (funktioner deles op i disse under oversættelsen) +# braces -> krøllede paranteser +# braced-group -> sætningsblok +# branch -> forgrening +# buffer -> mellemlager +# cast -> typetildeling, omtvingelse af typen +# con-/destructor -> kon-/destruktionsfunktion +# conflicting -> modstridende +# convert -> konvertere, omdanne +# declared -> erklæret +# defaults to -> antages at være +# dereference -> følge +# discard -> fjerne +# discard -> kassere +# driver -> styringsprogram +# duplicate -> optræder mere end én gang; mangfoldiggøre +# edge list -> kantliste +# elt -> udtrykstræ +# endian -> endet (fx storendet, lillendet) +# endianness -> endethed +# exception handling -> håndtering af undtagelser +# excess -> for mange +# expansion -> udfoldning +# extra -> (ret ofte) overskydende +# floating point -> kommatal +# formals -> parametre +# format string -> formateringsstreng +# forward -> forhånd (f.eks. forhåndserklæring) +# frame table -> rammetabel +# friend -> ven(ne-) +# gp (general purpose) register -> alment register (havde først brug- med, med det er overflødigt) +# hard register -> hardware-register +# have no effect -> udvirker intet +# identifier -> kaldenavn +# incompatible -> uforenelig, passer ikke +# incomplete -> ufuldstændig +# initialize -> tildele startværdi, klargøre +# initializer -> startværdi +# initializer list -> klargøringsliste +# inline -> integrede, indbygges (eller som reserveret ord: inline) +# instance -> instans (fx af en klasse) +# issue (fx warnings) -> fremkom med +# iterator -> løkkevariabel +# junk -> ragelse +# keyword -> reserveret ord +# label -> etiket +# linking -> sammenkædning +# lvalue -> venstreværdi +# macro -> makro +# malformed -> forkert udformet, misdannet +# member function/method -> [medlems]funktion (metode i Objective C) +# mismatch -> passer ikke med +# mmap -> indlæse +# modifier, qualifier -> modifikation +# multiple inheritance -> multipel nedarvning +# newline -> linjeskift +# non-numeric -> ikke et tal +# null character -> nultegn +# null pointer -> nul[-]henvisning +# offset -> forskydning +# opcodes (til ovenstående) -> instruktioner +# out of range -> uden for det gyldige (til tider mulige) interval +# overflow -> (til tider) løber over +# overlap -> [interval]sammenfald +# overloading -> flertydiggørelse +# padding -> udfylning +# pass -> overbringe (fx parametre), videregive +# pointer -> henvisning[svariabel] +# preprocessor -> præprocessor +# profiling -> profilering +# promote -> forfremme +# request -> (til tider) forespørgsel +# return -> returnerer +# schedule -> planlæg +# scope -> virkningsfelt +# shadowing -> skygger for +# shift -> skift +# specified -> (oftest) angivet +# specifier -> anvisning, angivelse +# stab -> stik (?) +# statement -> sætning +# storage class -> lagringsklasse +# strict -> nøje +# string -> streng +# subscript -> indeks, opslag +# target -> mål[arkitektur] +# template -> skabelon +# thrown -> kastet +# token -> symbol +# top-level -> øverste niveau +# trigraphs ('??%c'-dimser) -> trigrafer +# undefine -> glemme definitionen +# undefined blahblah -> blahblah er ikke defineret +# underscore -> understreg +# universal-character-name -> universelt tegn[navn] +# unsigned -> uden fortegn +# varargs -> variable parameterlister +# variadic macro -> makro med vilkårligt antal parametre +# variabels -> variabler (med afslutnings-r) +# vtable -> virtuel tabel +# wide character -> bredtegn +# white space -> mellemrum +# whitespace -> mellemrum +# +# Reserverede ord ofte ikke oversat, ej heller er der anbragt ' omkring +# (fx unsigned -> unsigned; derimod function -> funktion). Forkortelser +# som decl (for declaration) og arg (for argument) er oversat uforkortet +# - der er jo masser af plads at tage af. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.3\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2003-05-25 18:00+0200\n" +"Last-Translator: Ole Laursen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "traditionel C tillader ikke operatoren unær plus" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "konvertering fra NaN til unsigned int" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "universelt tegn '\\U%08x' er ikke gyldigt i kaldenavne" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "betydningen af '\\%c' er anderledes i traditionel C" + +#: cppcharset.c:837 +#, fuzzy, c-format +msgid "incomplete universal character name %.*s" +msgstr "ufuldstændigt universelt tegnnavn" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "'%T::%D' er ikke en gyldig erklærer" + +#: cppcharset.c:859 +#, fuzzy, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "universelt tegn '\\U%08x' er ikke gyldigt i kaldenavne" + +#: cppcharset.c:863 +#, fuzzy, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "universelt tegn '\\U%08x' er ikke gyldigt i kaldenavne" + +#: cppcharset.c:898 +#, fuzzy +msgid "converting UCN to source character set" +msgstr "konverterer NULL til en ikke-henvisningstype" + +#: cppcharset.c:902 +#, fuzzy +msgid "converting UCN to execution character set" +msgstr "konverterer NULL til en ikke-henvisningstype" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "betydningen af '\\x' er anderledes i traditionel C" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x angivet uden efterfølgende hexadecimale cifre" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "den hexadecimale undvigesekvens er uden for det gyldige interval" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "den oktale undvigesekvens er uden for det gyldige interval" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "betydningen af '\\a' er anderledes i traditionel C" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "undvigesekvensen '\\%c' er ikke ISO-standard" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "ukendt undvigesekvensen '\\%c'" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "ukendt undvigesekvensen '\\%03o'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "undvigesekvens er uden for det gyldig interval for tegn" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "tegnkonstanten er for lang for dens type" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "flerbyte-tegnkonstant" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "tom tegnkonstant" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "kunne ikke konvertere '%E' til '%T'" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "advarsel: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "intern fejl: " + +#: cpperror.c:174 +msgid "stdout" +msgstr "std-ud" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "for mange decimalkommaer i tal" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "ugyldig ciffer \"%c\" i oktal konstant" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "brug af C99 hexadecimal kommatalskonstant" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "der er ingen cifre i eksponent" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "hexadecimal kommatalskonstant skal have en eksponent" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "ugyldig endelse \"%.*s\" i kommatalskonstant" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "traditionel C tillader ikke endelsen \"%.*s\"" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "ugyldig endelse \"%.*s\" i heltalskonstant" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "brug af ISO C99 long long-heltalskonstanter" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "imaginære konstanter er en GCC-udvidelse" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "heltalskonstanten er for stor for dens type" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "heltalskonstanten er så stor at den er unsigned" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "manglende ')' efter \"defined\"" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "operatoren \"defined\" kræver et kaldenavn" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(\"%s\" er et alternativt symbol for \"%s\" i C++)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "denne brug af \"defined\" er muligvis ikke portabel" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "kommatalskonstant i præprocessorudtryk" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "imaginært tal i præprocessorudtryk" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" er ikke defineret" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "manglende binær operator før symbolet \"%s\"" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "symbolet \"%s\" er ikke gyldigt i præprocessorudtryk" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "tomt udtryk mellem '(' og ')'" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if uden noget udtryk" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "operatoren '%s' har ikke nogen højre operand" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr " ':' uden forudgående '?'" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "uafbalanceret stak i #if" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "umulig operator '%u'" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "manglende ')' i udtryk" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "'?' uden efterfølgende ':'" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "heltallet løber over i præprocessorudtrykket" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "manglende '(' i udtryk" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "den venstre operand til \"%s\" ændrer fortegn ved forfremmelse" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "den højre operand til \"%s\" ændrer fortegn ved forfremmelse" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "kommeoperator i en operand til #if" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "division med nul i #if" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s er en blokenhed" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s er for stor" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s er kortere end forventet" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "der er ingen inkluderingssti at finde %s i" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "Flere inkluderingsvagter kan være nyttige til:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t skal være en unsigned type" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"præprocessorberegning har en maksimal præcision på %lu bit; målarkitektur " +"kræver %lu bit" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" +"CPP-beregning skal være mindst lige så præcis som en målarkitekturs int" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "målarkitekturs char er mindre end 8 bit bred" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "målarkitekturs wchar_t er mindre end målarkitekturs char" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "målarkitekturs int er mindre end målarkitekturs char" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "CPP-halvheltal er mindre end CPP-tegn" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"CPP på denne vært kan ikke håndtere bredtegnkonstanter over %lu bit, men " +"målarkitekturen kræver %lu bit" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "nultegn ignoreret" + +#: cpplex.c:445 +#, fuzzy +msgid "'$' in identifier or number" +msgstr "'$'-tegn i kaldenavn eller tal" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "forsøg på at bruge forgiftet \"%s\"" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"__VA_ARGS__ kan kun optræde i udfoldelsen af en C99-makro med vilkårligt " +"antal parametre" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "nultegn bevaret i strengkonstant" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "uafsluttet kommentar" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "kommentarer i C++-stil er ikke tilladt i ISO C90" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(dette rapporteres kun en enkelt gang per inddatafil)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "flerlinjers kommentar" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "symbol %s kan ikke staves" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "ekstra symboler i slutningen af #%s-direktiv" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s er en GCC-udvidelse" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "foreslår undladelse af brug af #elif i traditionel C" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "traditionel C ignorerer #%s når '#' er indrykket" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "foreslår at skjule #%s fra traditionel C vha. indrykket '#'" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "indlejring af et direktiv inden i makroparametre er ikke portabelt" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "linjestilsdirektiv er en GCC-udvidelse" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "ugyldigt præprocessordirektiv #%s" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "\"defined\" kan ikke bruges som makronavn" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "\"%s\" kan ikke bruges som et makronavn da det er en operator i C++" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "intet makronavn angivet i direktivet #%s" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "makronavne skal være kaldenavne" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "glemmer definitionen af \"%s\"" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "manglende afsluttende '>'-tegn" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s forventer \"FILNAVN\" eller " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include indlejret for dybt" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next i den primære kildekodefil" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "ugyldigt flag \"%s\" i linjedirektiv" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "\"%s\" efter #line er ikke et positivt heltal" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "linjenummer er uden for det gyldige interval" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" er ikke et ugyldigt filnavn" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "\"%s\" efter # er ikke et positivt heltal" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "ugyldigt #ident-direktiv" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "registrerer \"%s\" som både et pragma og som et pragmanavnerum" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "#pragma %s %s er allerede registreret" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "#pragma %s er allerede registreret" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "'#pragma once' i hovedfil" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "ugyldigt #pragma GCC poison-direktiv" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "forgifter eksisterende makro \"%s\"" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "'#pragma system_header' ignoreret uden for inkluderingsfil" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "kan ikke finde kilden %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "aktuel fil er ældre end %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma tager en strengkonstant med paranteser omkring" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else uden #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else efter #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif uden #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif efter #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif uden #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "manglende '(' efter udsagn" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "manglende ')' til at fuldføre svar" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "udsagnets svar et tomt" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "postulat uden udsagn" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "udsagn skal være et kaldenavn" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "\"%s\" genpostuleret" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "ugyldig indbygget makro \"%s\"" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "kunne ikke bestemme dato og tid" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "ugyldig strengkonstant, ignorerer afsluttende '\\'" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" +"indsættelse af \"%s\" og \"%s\" giver ikke et gyldigt præprocessorsymbol" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C99 påkræver at restparametrene skal bruges" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "makroen \"%s\" kræver %u parametre, men modtager kun %u" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "makroen \"%s\" bliver viderebragt %u parametre, men tager kun mod %u" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "uafsluttet parameterliste ved kald af makroen \"%s\"" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "funktionsagtig makro \"%s\" skal bruges med parametre i traditionel C" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "makroparameternavnet \"%s\" optræder mere end én gang" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "\"%s\" må ikke optræde i makroparameterliste" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "makroparametre skal være komma-adskilte" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "parameternavn mangler" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "anonyme makroer med vilkårligt antal parametre blev introduceret i C99" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C tillader ikke navngivne makroer med vilkårligt antal parametre" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "manglende ')' i makroparameterliste" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C påkræver mellemrum efter makronavnet" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "'#' efterfølges ikke af en makroparameter" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "'##' må ikke optræde ved nogen af enderne i en makrokrop" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" +"makroparameteren \"%s\" ville blive gjort til en streng i traditionel C" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "ugyldig hashtype %d i cpp_macro_definition" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "etiketten '%s' er benyttet, men ikke defineret" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "'%s' brugt, men aldrig defineret" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "\"%s\" er ikke et gyldigt tilvalg til præprocessoren" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "for mange inddatafiler" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "opdagede rekursion ved udfoldelse af makroen \"%s\"" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "\"%s\" må ikke optræde i makroparameterliste" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "I filen inkluderet af %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" af %s:%u" + diff --git a/libcpp/po/de.po b/libcpp/po/de.po new file mode 100644 index 00000000000..41936e1a957 --- /dev/null +++ b/libcpp/po/de.po @@ -0,0 +1,790 @@ +# German translation of gcc messages. +# Copyright © 2002, 2003, 2004 Free Software Foundation, Inc. +# Karl Eichwalder , 2002, 2003. +# Roland Stigge , 2003, 2004. +# This file is distributed under the same license as the gcc package. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.4-b20040206\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2004-02-15 12:14+0100\n" +"Last-Translator: Roland Stigge \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "traditionelles C weist den unären Plus-Operator zurück" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "Konvertierung von %s nach %s wird von iconv nicht unterstützt" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "iconv_open" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" +"keine Implementation für iconv, es kann nicht von %s nach %s konvertiert " +"werden" + +#: cppcharset.c:808 +msgid "universal character names are only valid in C++ and C99" +msgstr "universelle Zeichennamen sind nur in C++ und C99 gültig" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "die Bedeutung von '\\%c' ist in traditionellem C anders" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "unvollständiger Universal-Zeichenname %.*s" + +#: cppcharset.c:849 +#, c-format +msgid "%.*s is not a valid universal character" +msgstr "»%.*s« ist kein gültiges universelles Zeichen" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "universelles Zeichen %.*s ist nicht gültig in Bezeichner" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "universelles Zeichen %.*s ist nicht gültig am Anfang eines Bezeichners" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "UCN wird in Quellzeichensatz konvertiert" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "UCN wird in Ausführungszeichensatz konvertiert" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "die Bedeutung von '\\x' ist in traditionellem C anders" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x ohne folgende Hex-Ziffern verwendet" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "Hex-Fluchtsequenz außerhalb des Wertebereiches" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "Oktal-Fluchtsequenz außerhalb des Wertebereiches" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "die Bedeutung von '\\a' ist in traditionellem C anders" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "nicht-ISO-standardkonforme Fluchtsequenz '\\%c'" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "unbekannte Fluchtsequenz '\\%c'" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "unbekannte Fluchtsequenz: '\\%03o'" + +#: cppcharset.c:1122 +msgid "converting escape sequence to execution character set" +msgstr "Fluchtsequenz wird in Zeichensatz der Ausführung konvertiert" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "Konvertierung in Zeichensatz der Ausführung" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "Zeichenkonstante zu lang für ihren Typ" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "Zeichenkonstante mit mehreren Zeichen" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "Leere Zeichenkonstante" + +#: cppcharset.c:1378 +#, c-format +msgid "failure to convert %s to %s" +msgstr "Fehler beim Konvertieren von %s in %s" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "Warnung: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "interner Fehler: " + +#: cpperror.c:174 +msgid "stdout" +msgstr "Standardausgabe" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "zu viele Dezimalpunkte in Zahl" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "ungültige Ziffer »%c« in Oktal-Konstante" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "Verwendung von C99 hexadezimaler Gleitkommakonstante" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "Exponent hat keine Ziffern" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "hexadezimale Gleitkommakonstanten benötigen Exponenten" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "ungültiger Suffix »%.*s« an Gleitkommakonstante" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "traditionelles C lehnt den Suffix »%.*s« ab" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "ungültiger Suffix »%.*s« an Ganzzahlkonstante" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "C99 long long Ganzzahlkonstante verwendet" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "imaginäre Konstanten sind eine GCC-Erweiterung" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "Ganzzahlkonstante ist zu groß für ihren Typ" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "Ganzzahlkonstante ist so groß, dass sie vorzeichenlos ist" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "fehlendes ')' hinter »defined«" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "Operator »defined« erfordert einen Bezeichner" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(»%s« ist ein alternatives Token for »%s« in C++)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "diese Verwendung von »defined« könnte nicht portierbar sein" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "Gleitkommakonstante in Präprozessorausdruck" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "imaginäre Zahl in Präprozessorausdruck" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "»%s« ist nicht definiert" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "fehlender binärer Operator vor Token »%s«" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "Token »%s« ist nicht gültig in Präprozessorausdrücken" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "ungültiger Ausdruck zwischen '(' und ')'" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if ohne Ausdruck" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "Operator »%s« hat keinen rechten Operanden" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr " ':' ohne vorangehendes '?'" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "unausgeglichener Keller in #if" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "unmöglicher Operator '%u'" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "fehlendes ')' in Ausdruck" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "'?' ohne folgendes ':'" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "Ganzzahlüberlauf in Präprozessorausdruck" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "fehlendes '(' in Ausdruck" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "der linke Operand von »%s« ändert bei der Weitergabe das Vorzeichen" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "der rechte Operand von »%s« ändert bei der Weitergabe das Vorzeichen" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "Kommaoperator in Operand von #if" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "Division durch null in #if" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "NULL-Verzeichnis in find_file" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "ein oder mehrere PCH-Dateien wurden gefunden, aber sie sind ungültig" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "verwenden Sie -Winvalid-pch für mehr Informationen" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s ist ein Block-Gerät" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s ist zu groß" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s ist kürzer als erwartet" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "kein Include-Pfad, um %s zu finden" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "Mehrere Include-Wächter könnten nützlich sein für:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t muss ein vorzeichenloser Typ sein" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"Präprozessorarithmetik hat maximale Präzision von %lu Bits; Ziel erfordert %" +"lu Bits" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "CPP-Arithmetik muss mindestens so genau sein wie das Ziel int" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "Ziel-char ist weniger als 8 Bits breit" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "Ziel-wchar_t ist schmaler als Ziel char" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "Ziel-int ist schmaler als Ziel-char" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "CPP Halb-Ganzzahl ist schmaler als CPP-Zeichen" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"CPP kann auf diesem Computer keine Wide-Zeichenkonstanten über %lu Bits " +"Breite behandeln, das Ziel benötigt %lu Bits" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "Null-Zeichen ignoriert" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "'$' in Bezeichner oder Zahl" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "Versuch, schlechtes »%s« zu verwenden" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"__VA_ARGS__ kann nur in Erweiterung eines variadischen C99-Makros auftreten" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "Null-Zeichen im Literal erhalten" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "nicht beendeter Kommentar" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "C++-Stil-Kommentare sind in ISO-C90 nicht erlaubt" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(dies wird nur einmal pro Eingabedatei gemeldet)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "mehrzeiliger Kommentar" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "nicht buchstabierbares Token %s" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "mehrere Token am Ende der Direktive #%s" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s ist eine Erweiterung des GCC" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "empfehle, in traditionellem C nicht #elif zu verwenden" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "traditionelles C ignoriert #%s mit eingerücktem #" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "empfehle, #%s vor traditionellem C mit # zu verbergen" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" +"das Einbetten einer Direktive innerhalb von Makroargumenten ist nicht " +"portierbar" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "der Stil der line-Direktive ist eine Erweiterung des GCC" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "ungültige Präprozessordirektive #%s" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "»defined« kann nicht als Makroname verwendet werden" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" +"»%s« kann nicht als Makroname verwendet werden, da es ein Operator in C++ ist" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "kein Makroname in Direktive #%s angegeben" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "Makronamen müssen Bezeichner sein" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "un-definiere »%s«" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "fehlendes abschließendes »>«-Zeichen" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s erwartet \"DATEINAME\" oder " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include ist zu tief geschachtelt" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next in erster Quelldatei" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "ungültiges Flag »%s« in line-Direktive" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "»%s« hinter #line ist keine positive Ganzzahl" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "Zeilennummer ist außerhalb des Wertebereiches" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "»%s« ist kein gültiger Dateiname" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "»%s« hinter # ist keine positive Ganzzahl" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "ungültige #ident-Direktive" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "registriere »%s« sowohl als Pragma als auch als Pragma-Namespace" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "#pragma %s %s ist bereits registriert" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "#pragma %s ist bereits registriert" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma once in Hauptdatei" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "ungültige #pragma GCC Direktive" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "schlechtes existierendes Makro »%s«" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "#pragma system_header außerhalb include-Datei ignoriert" + +#: cpplib.c:1255 +#, c-format +msgid "cannot find source file %s" +msgstr "Quelldatei %s kann nicht gefunden werden" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "aktuelle Datei ist älter als %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma nimmt ein geklammertes Zeichenkettenliteral" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else ohne #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else hinter #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif ohne #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif hinter #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif ohne #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "fehlendes '(' hinter Prädikat" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "fehlendes ')', um Antwort abzuschließen" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "Prädikatantwort ist leer" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "Behauptung ohne Prädikat" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "Prädikat muss ein Bezeichner sein" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "»%s« wieder behauptet" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "ungültiges eingebautes Makro »%s«" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "Datum und Zeit konnten nicht bestimmt werden" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "ungültiges Zeichenkettenliteral, ignoriere abschließendes '\\'" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "das Einfügen von »%s« und »%s« ergibt kein gültiges Präprozessor-Token" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO-C99 erfordert, dass Restargumente verwendet werden" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "Makro »%s« erfordert %u Argumente, aber nur %u wurden angegeben" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "dem Makro »%s« wurden %u Argumente übergeben, aber es nimmt nur %u" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "unvollendete Argumentliste beim Makroaufruf »%s«" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" +"funktionsähnliches Makro »%s« muss mit Argumenten in traditionellem C " +"verwendet werden" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "doppelter Makroparameter »%s«" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "»%s« darf nicht in Makroparameterliste auftreten" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "Makroparameter müssen mit Komma getrennt sein" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "Parametername fehlt" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "anonyme variadische Makros wurden in C99 eingeführt" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO-C erlaubt keine benannten variadischen Makros" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "fehlendes ')' in Makroparameterliste" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO-C erfordert Whitespace hinter Makroname" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "'#' wird nicht von einem Makroparameter gefolgt" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "'##' kann nicht an den Enden einer Makroexpansion auftreten" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" +"Makroargument »%s« würde in traditionellem C zum String gewandelt werden" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "ungültiger Hash-Typ %d in cpp_macro_definition" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "beim Schreiben des vorkompilierten Headers" + +#: cpppch.c:469 +#, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "%s: nicht verwendet, da »%.*s« nicht definiert" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" +"%s: nicht verwendet, da »%.*s« als »%s« statt als »%.*s« definiert wurde" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "%s: nicht verwendet, da »%s« definiert ist" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "beim Lesen des vorkompilierten Headers" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "»%s« ist keine gültige Präprozessoroption" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "zu viele Eingabedateien" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "Rekursion bei Expansion des Makros »%s« entdeckt" + +#: cpptrad.c:911 +msgid "syntax error in macro parameter list" +msgstr "Syntaxfehler in Makroparameterliste" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "In Datei, eingefügt von %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" von %s:%u" + diff --git a/libcpp/po/el.po b/libcpp/po/el.po new file mode 100644 index 00000000000..a1f6d0dece3 --- /dev/null +++ b/libcpp/po/el.po @@ -0,0 +1,808 @@ +# Greek translation of gcc. +# Copyright (C) 2001, 2002 Free Software Foundation, Inc. +# Simos Xenitellis , 2001, 2002. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.2\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2002-08-18 15:46+0100\n" +"Last-Translator: Simos Xenitellis \n" +"Language-Team: Greek \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-7\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "" + +# src/request.c:37 +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "ç ìåôáôñïðÞ áðü `%s' óå `%s' äåí õðïóôçñßæåôå" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "U+%04X: åêôüò ïñßùí ÷áñáêôÞñáò" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "Ôï `%s' äåí åßíáé êáôÜëïãïò." + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "" + +#: cppcharset.c:991 +#, fuzzy +msgid "hex escape sequence out of range" +msgstr "ìç Ýãêõñç äéáäéêáóßá äéáöõãÞò óôï ôÝëïò ôïõ áëöáñéèìéôéêïý" + +#: cppcharset.c:1030 +#, fuzzy +msgid "octal escape sequence out of range" +msgstr "ìç Ýãêõñç äéáäéêáóßá äéáöõãÞò óôï ôÝëïò ôïõ áëöáñéèìéôéêïý" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "" + +# src/main.c:663 +#: cppcharset.c:1113 +#, fuzzy, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "¶ãíùóôç óõìâïëïóåéñÜ `%s'" + +# src/main.c:663 +#: cppcharset.c:1116 +#, fuzzy, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "¶ãíùóôç óõìâïëïóåéñÜ `%s'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "ìç Ýãêõñç äéáäéêáóßá äéáöõãÞò óôï ôÝëïò ôïõ áëöáñéèìéôéêïý" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +#, fuzzy +msgid "character constant too long for its type" +msgstr "ìç Ýãêõñïò óôáèåñüò ÷áñáêôÞñáò óôï áëöáñéèìéôéêü" + +#: cppcharset.c:1247 +#, fuzzy +msgid "multi-character character constant" +msgstr "äéðëü üíïìá ÷áñáêôÞñá `%s'" + +#: cppcharset.c:1339 +#, fuzzy +msgid "empty character constant" +msgstr "êåíü áëöáñéèìçôéêü" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "äåí åßíáé äõíáôü íá äçìéïõñãçèåß ôï %s `%s' óôï `%s'" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "ðñïåéäïðïßçóç: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "åóùôåñéêü óöÜëìá: " + +#: cpperror.c:174 +#, fuzzy +msgid "stdout" +msgstr "äïìÞ" + +#: cppexp.c:192 +#, fuzzy +msgid "too many decimal points in number" +msgstr "Õðåñâïëéêá ðïëëÜ áíïéêôÜ áñ÷åßá óôï óýóôçìá" + +#: cppexp.c:212 +#, fuzzy, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "Ìç Ýãêõñç áêÝñáéá ðáñÜìåôñïò `%s'" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "" + +#: cppexp.c:240 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "Ç ðáñÜìåôñïò êéíçôÞò õðïäéáóôïëÞò äåí åßíáé Ýãêõñç: %s" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "" + +#: cppexp.c:261 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "Ìç Ýãêõñç áêÝñáéá ðáñÜìåôñïò `%s'" + +#: cppexp.c:283 +#, fuzzy +msgid "use of C99 long long integer constant" +msgstr "Ìç Ýãêõñç áêÝñáéá ðáñÜìåôñïò `%s'" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "" + +#: cppexp.c:376 +#, fuzzy +msgid "integer constant is too large for its type" +msgstr "%s: ôï %s åßíáé ôüóï ìåãÜëï ðïõ äå ìðïñåß íá áíáðáñáóôáèåß" + +#: cppexp.c:388 +#, fuzzy +msgid "integer constant is so large that it is unsigned" +msgstr "%s: ôï %s åßíáé ôüóï ìåãÜëï ðïõ äå ìðïñåß íá áíáðáñáóôáèåß" + +#: cppexp.c:470 +#, fuzzy +msgid "missing ')' after \"defined\"" +msgstr "Ý÷åé ðáñáëçöèåß ç ëßóôá ìå ôá ðåäßá" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +#, fuzzy +msgid "floating constant in preprocessor expression" +msgstr "Åîáßñåóç êéíçôÞò õðïäéáóôïëÞò" + +#: cppexp.c:537 +#, fuzzy +msgid "imaginary number in preprocessor expression" +msgstr "ìç Ýãêõñïò áñéèìüò áðü ãñáììÝò" + +#: cppexp.c:582 +#, fuzzy, c-format +msgid "\"%s\" is not defined" +msgstr "ôï `%s' äåí åßíáé êáíïíéêü áñ÷åßï" + +#: cppexp.c:714 cppexp.c:743 +#, fuzzy, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "%s: Áíáìåíüôáí äõáäéêüò ÷åéñéóôÞò.\n" + +#: cppexp.c:734 +#, fuzzy, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "%s: ìç Ýãêõñç êáíïíéêÞ Ýêöñáóç: %s" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "" + +#: cppexp.c:830 +#, fuzzy, c-format +msgid "impossible operator '%u'" +msgstr "RPC: Ìç óõìâáôÝò åêäüóåéò ôïõ RPC" + +#: cppexp.c:922 +#, fuzzy +msgid "missing ')' in expression" +msgstr "Ý÷åé ðáñáëçöèåß ç ëßóôá ìå ôéò èÝóåéò" + +#: cppexp.c:943 +#, fuzzy +msgid "'?' without following ':'" +msgstr "óõíôáêôéêü óöÜëìá óôïí ðñüëïãï: %s" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "" + +#: cppexp.c:958 +#, fuzzy +msgid "missing '(' in expression" +msgstr "Ý÷åé ðáñáëçöèåß ç ëßóôá ìå ôéò èÝóåéò" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "" + +#: cppexp.c:1483 +#, fuzzy +msgid "division by zero in #if" +msgstr "Äéáßñåóç ìå ìçäÝí óôçí áðïôßìçóç: %s" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, fuzzy, c-format +msgid "%s is a block device" +msgstr "Äåí Ýìåéíå êáèüëïõ ÷þñïò óôç óõóêåõÞ" + +# src/shred.c:1134 +#: cppfiles.c:480 +#, fuzzy, c-format +msgid "%s is too large" +msgstr "%s: ôï áñ÷åßï åßíáé ðïëý ìåãÜëï" + +#: cppfiles.c:515 +#, fuzzy, c-format +msgid "%s is shorter than expected" +msgstr "%s: Áíáìåíüôáí äõáäéêüò ÷åéñéóôÞò.\n" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "" + +#: cppinit.c:389 +#, fuzzy +msgid "cppchar_t must be an unsigned type" +msgstr "äéðëüò ðñïóäéïñéóôÞò ìçíýìáôïò" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +#, fuzzy +msgid "null character(s) ignored" +msgstr "ìç Ýãêõñïò ÷áñáêôÞñáò óôï áñ÷åßï: " + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "" + +#: cpplex.c:916 +#, fuzzy +msgid "unterminated comment" +msgstr "Ìç ôåñìáôéóìÝíç åíôïëÞ `s'" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "" + +#: cpplex.c:1198 +#, fuzzy, c-format +msgid "unspellable token %s" +msgstr "%s: áäýíáôï ôï Üíïéãìá ôïõ %s: %m\n" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "" + +#: cpplib.c:496 +#, fuzzy +msgid "macro names must be identifiers" +msgstr "äéðëüò ðñïóäéïñéóôÞò ìçíýìáôïò" + +#: cpplib.c:537 +#, fuzzy, c-format +msgid "undefining \"%s\"" +msgstr "Ìç ïñéóìÝíï üíïìá %s" + +#: cpplib.c:609 +#, fuzzy +msgid "missing terminating > character" +msgstr "Ý÷åé ðáñáëçöèåß ôï áñ÷åßï ðñïïñéóìïý" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "" + +#: cpplib.c:794 +#, fuzzy, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "%s' äåí åßíáé éó÷ýùí èåôéêüò áêÝñáéïò." + +#: cpplib.c:800 +#, fuzzy +msgid "line number out of range" +msgstr "%s: áñéèìüò ãñáììÞò Ýîù áðü ôá üñéá" + +#: cpplib.c:812 cpplib.c:885 +#, fuzzy, c-format +msgid "\"%s\" is not a valid filename" +msgstr "%s' äåí åßíáé éó÷ýùí èåôéêüò áêÝñáéïò." + +#: cpplib.c:847 +#, fuzzy, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "%s' äåí åßíáé éó÷ýùí èåôéêüò áêÝñáéïò." + +#: cpplib.c:947 +#, fuzzy +msgid "invalid #ident directive" +msgstr "%%%c: êáôåõèõíôÞñéïò ãñáììÞ ìç Ýãêõñç." + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "" + +#: cpplib.c:1033 +#, fuzzy, c-format +msgid "#pragma %s is already registered" +msgstr "ï ÷Üñôçò ÷áñáêôÞñùí `%s' ïñßóôçêå Þäç" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "áäõíáìßá áíïßãìáôïò õðïäï÷Þò: %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else ìåôÜ áðü #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif ìåôÜ áðü #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "" + +#: cpplib.c:1658 +#, fuzzy +msgid "assertion without predicate" +msgstr "Ç ëåéôïõñãßá äåí åðéôñÝðåôáé" + +#: cpplib.c:1660 +#, fuzzy +msgid "predicate must be an identifier" +msgstr "äéðëüò ðñïóäéïñéóôÞò ìçíýìáôïò" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "" + +#: cppmacro.c:125 cppmacro.c:280 +#, fuzzy, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "ìç Ýãêõñï ìÞêïò ãñáììÞò: %s" + +#: cppmacro.c:221 +#, fuzzy +msgid "could not determine date and time" +msgstr "Äåí ìðüñåóá íá áíïßîù ôï áñ÷åßï %s" + +#: cppmacro.c:393 +#, fuzzy +msgid "invalid string literal, ignoring final '\\'" +msgstr "ìç Ýãêõñïò áñ÷éêüò áñéèìüò ãñáììÞò: `%s'" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" + +#: cppmacro.c:514 +#, fuzzy +msgid "ISO C99 requires rest arguments to be used" +msgstr "ÊáêÞ áßôçóç ðáñáìÝôñùí" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" + +#: cppmacro.c:1241 +#, fuzzy, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "äéðëü üíïìá ÷áñáêôÞñá `%s'" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, fuzzy, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "%s' äåí åßíáé éó÷ýùí èåôéêüò áêÝñáéïò." + +#: cppspec.c:128 +msgid "too many input files" +msgstr "õðåñâïëéêÜ ðïëëÜ áñ÷åßá åéóüäïõ" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "óõíôáêôéêü óöÜëìá óôïí ïñéóìü êëÜóçò ÷áñáêôÞñùí" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" + diff --git a/libcpp/po/es.po b/libcpp/po/es.po new file mode 100644 index 00000000000..118dd103af9 --- /dev/null +++ b/libcpp/po/es.po @@ -0,0 +1,793 @@ +# Mensajes en español para gcc-3.3 +# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc. +# Cristian Othón Martínez Vera , 2001, 2002, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.3\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2003-06-29 15:48-0500\n" +"Last-Translator: Cristian Othón Martínez Vera \n" +"Language-Team: Spanish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "C tradicional rechaza el operador unario mas" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "conversión de NaNa a unsigned int" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "universal-character-name `\\U%08x' no es válido en el identificador" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "el significado de '\\%c' es diferente en C tradicional" + +#: cppcharset.c:837 +#, fuzzy, c-format +msgid "incomplete universal character name %.*s" +msgstr "universal-character-name incompleto" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "`%T::%D' no es una declaración válida" + +#: cppcharset.c:859 +#, fuzzy, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "universal-character-name `\\U%08x' no es válido en el identificador" + +#: cppcharset.c:863 +#, fuzzy, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "universal-character-name `\\U%08x' no es válido en el identificador" + +#: cppcharset.c:898 +#, fuzzy +msgid "converting UCN to source character set" +msgstr "convirtiendo NULL a un tipo que no es puntero" + +#: cppcharset.c:902 +#, fuzzy +msgid "converting UCN to execution character set" +msgstr "convirtiendo NULL a un tipo que no es puntero" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "el significado de '\\x' es diferente en C tradicional" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "se usó \\x sin dígitos hexadecimales a continuación" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "secuencia de escape hexadecimal fuera de rango" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "secuencia de escape octal fuera de rango" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "el significado de '\\a' es diferente en C tradicional" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "secuencia de escape que no es estándard ISO, '\\%c'" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "secuencia de escape desconocida, '\\%c'" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "secuencia de escape desconocida: '\\%03o'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "secuencia de escape fuera de rango para el carácter" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "constante de carácter demasiado grande para su tipo" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "constante de carácter con múltiples caracteres" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "constante de carácter vacía" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "no se puede convertir `%E' a `%T'" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "aviso: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "error interno: " + +#: cpperror.c:174 +msgid "stdout" +msgstr "salida estándard" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "demasiados puntos decimales en el número" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "dígito \"%c\" inválido en la constante octal" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "uso de una constante de coma flotante hexadecimal C99" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "el exponente no tiene dígitos" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "las constantes de coma flotante hexadecimal requieren un exponente" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "sufijo \"%.*s\" inválido en la constante de coma flotante" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "C tradicional rechaza el sufijo \"%.*s\"" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "sufijo \"%.*s\" inválido en la constante entera" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "uso de una constante entera long long C99" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "las constantes imaginarias son una extensión GCC" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "la constante entera es demasiado grande para su tipo" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "la constante entera es tan grande que es unsigned" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "falta `)' después de \"defined\"" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "el operador \"defined\" requiere un identificador" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(\"%s\" es un elemento alternativo para \"%s\" en C++)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "este uso de \"defined\" puede no ser transportable" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "constante de coma flotante en una expresión del preprocesador" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "número imaginario en una expresión del preprocesador" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" no está definido" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "falta un operador binario antes del elemento \"%s\"" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "el elemento \"%s\" no es válido en las expresiones del preprocesador" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "expresión void entre '(' y ')'" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if sin expresión" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "el operador '%s' no tiene operando derecho" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr " ':' sin una '?' precedente" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "pila desbalanceada en #if" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "operador '%u' imposible" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "falta un ')' en la expresión" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "'?' sin ':' a continuación" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "desbordamiento entero en expresión del preprocesador" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "falta un '(' en la expresión" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "el operando izquierdo de \"%s\" cambia el signo cuando es promovido" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "el operando derecho de \"%s\" cambia el signo cuando es promovido" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "operador coma en operando de #if" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "división por cero en #if" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s es un dispositivo de bloques" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s es demasiado grande" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s es más corto de lo esperado" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "no hay ruta de inclusión en la cual se encuentre %s" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "Guardias múltiples de include pueden ser útiles para:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t debe ser de un tipo unsigned" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"la aritmética del preprocesador tiene una precisión máxima de %lu bits; el " +"objetivo requiere de %lu bits" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" +"la aritmética de CPP debe se al menos tan precisa como un int del objetivo" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "el char del objetivo tiene menos de 8 bits de ancho" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "el wchar_t del objetivo es más estrecho que el char del objetivo" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "el int del objetivo es más estrecho que el char del objetivo" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "el medio-entero de CPP es más estrecho que el carácter de CPP" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"CPP no puede manejar constantes de carácter anchas más allá de %lu bits en " +"este objetivo, pero el objetivo requiere %lu bits" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "caracter(es) nulo(s) ignorados" + +#: cpplex.c:445 +#, fuzzy +msgid "'$' in identifier or number" +msgstr "caracter(es) '$' en el identificador o número" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "intento de usar \"%s\" envenenado" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"__VA_ARGS__ solamente puede aparecer en la expansión de una macro variadic " +"C99" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "caracter(es) nulo(s) preservados en la literal" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "comentario sin terminar" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "los comentarios de estilo C++ no se permiten en ISO C90" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(esto se reportará solamente una vez por cada fichero de entrada)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "comentario en múltiples líneas" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "elemento %s impronunciable" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "elementos extra al final de la directiva #%s" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s es una extensión de GCC" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "se sugiere no usar #elif en C tradicional" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "C tradicional ignora #%s con el # indentado" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "se sugiere ocultar #%s de C tradicional con un # indentado" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" +"imbuir una directiva dentro de los argumentos de una macro no es " +"transportable" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "la directiva de estilo de línea es una extensión de GCC" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "directiva de preprocesamiento #%s inválida" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "\"defined\" no se puede usar como un nombre de macro" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" +"no se puede usar \"%s\" como un nombre de macro porque es un operador en C++" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "no se dio un nombre de macro en la directiva #%s" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "los nombres de macro deben ser identificadores" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "borrando la definición de \"%s\"" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "falta el carácter de terminación >" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s espera \"NOMBRE_ARCHIVO\" ó " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include anidado con demasiada profundidad" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next en fichero primario de código fuente" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "indicador \"%s\" inválido en la línea de la directiva" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "\"%s\" después de #line no es un entero positivo" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "número de línea fuera de rango" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" no es un nombre de fichero válido" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "\"%s\" después de # no es un entero positivo" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "directiva #ident inválida" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" +"registrando \"%s\" como un pragma y como un espacio de nombres de pragma" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "#pragma %s %s ya está registrado" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "#pragma %s ya está registrado" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma una vez en el fichero principal" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "directiva #pragma de GCC envenenada inválida" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "envenenando la macro existente \"%s\"" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "#pragma system_header ignorado fuera del fichero a incluir" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "no se puede encontrar la fuente %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "el fichero actual es más antiguo que %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma lleva una cadena literal entre paréntesis" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else sin #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else después de #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif sin #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif después de #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif sin #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "falta '(' antes del predicado" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "falta ')' para completar la respuesta" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "el predicado de la respuesta está vacío" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "afirmación sin predicado" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "el predicado debe ser un identificador" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "\"%s\" reafirmado" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "macro interna \"%s\" inválida" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "no se puede determinar la fecha y la hora" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "cadena literal inválida, se ignora el '\\' finales" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "pegar \"%s\" y \"%s\" no da un elemento válido de preprocesamiento" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C99 requiere que el resto de los argumentos sea usado" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "la macro \"%s\" requiere %u argumentos, pero solo se proporcionan %u" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "la macro \"%s\" recibió %u argumentos, pero solamente tomó %u" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "lista de argumentos sin terminar al invocar la macro \"%s\"" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" +"la función de macro \"%s\" se debe usar con argumentos en C tradicional" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "parámetro de macro \"%s\" duplicado" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "\"%s\" podría faltar en la lista de parámetro de macro" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "los parámetros de macro deben ser separados por comas" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "falta el nombre del parámetro" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "los macros variadic anónimos se introdujeron en C99" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C no permite macros variadic nombrados" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "falta paréntesis derecho en la lista de parámetros de macro" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C requiere espacios en blanco después del nombre de macro" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "'#' no es seguido por un parámetro de macro" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "'##' no puede aparece en o al final de una expansión de macro" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" +"el argumento de macro \"%s\" debería ser convertido a cadena en C tradicional" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "tipo de hash %d inválido en cpp_macro_definition" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "se usa la etiqueta `%s' pero no está definida" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "se usa `%s' pero nunca se definió" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "\"%s\" no es una opción válida para el preprocesador" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "demasiados ficheros de entrada" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "se detectó recursión al expandir la macro \"%s\"" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "error de sintaxis en la lista nombres de parámetros" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "En el fichero incluído de %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" de %s:%u" + diff --git a/libcpp/po/fr.po b/libcpp/po/fr.po new file mode 100644 index 00000000000..07e562e1b7f --- /dev/null +++ b/libcpp/po/fr.po @@ -0,0 +1,920 @@ +# Messages français pour GNU concernant gcc. +# Copyright © 2001 Free Software Foundation, Inc. +# Michel Robitaille , traducteur depuis/since 1996. +# +# Vocabulaire utilisé +# lvalue = membre gauche +# deprecated = obsolète +# out of range = hors des limites +# range = gamme +# scope = porté, champ +# shadowing = masquer +# embedded PIC = PIC enchâssé +# CPU = processeur +# structure with flexible member +# = structure ayant un membre flexible +# flag = fanion +# forward declaration +# = déclaration anticipée +# token = élément lexical (dans le contexte du parsing) +# to subscript = indicer +# top-level = hors de toute fonction +# member function = fonction membre +# +# Pas traduit: +# thread +# +# J'ai des doutes pour : +# inline = enligne (pas systématiquement) +# oui dans le contexte du langage C par exemple MR +# non autrement ...de manière générale MR +# section attribute attribut de section OK MR +# wide char caractère long ...non mieux caractère large MR +# plus conforme à l'esprit. +# +# ------ +# literals littéral, ou mot composé ? +# msgid "ISO C89 forbids compound literals" +# msgstr "le C89 ISO interdit les mots composés" +# +# symbol table table des symboles ou table de symbole +# command map carte des commandes +# Combiner combinateur +# msgid "" +# ";; Combiner statistics: %d attempts, %d substitutions (%d requiring new space),\n" +# ";; %d successes.\n" +# "\n" +# msgstr "" +# ";; Statistiques du combinateur : %d tentatives, %d substitutions (%d requérant un nouvel espace),\n" +# ";; %d succès.\n" +# "\n" +# +# promote promouvoir +# msgid "the left operand of \"%s\" changes sign when promoted" +# msgstr "L'opérande gauche de « %s » change de signe lors de sa promotion" +# +# include guards ??? +# msgid "Multiple include guards may be useful for:\n" +# msgstr "De multiples balises pour les inclusions peuvent être utiles pour :\n" +# +# +# universal-character-name ??? +# msgid "incomplete universal-character-name" +# msgid "non-hex digit '%c' in universal-character-name" +# msgid "universal-character-name on EBCDIC target" +# +# poisoning empoisonnement +# msgid "poisoning existing macro \"%s\"" +# msgstr "empoisonnement de la macro existente « %s »" +# MR 9-jan 2004: poisoning etc... transformé par corruption corrompu etc.. +# +# Autres règles: +# - j'ai ajouté un adjectif par rapport à l'anglais si le message est +# une phrase avec verbe conjugé. +# - ISO est considéré comme un adjectif dans « C ISO » +# +# Erreurs corrigées: +# librairies, assumer +# +# A faire: +# - s/en ligne/en-ligne/ modifié 9-janv-2004 MR +# - s/en-ligne/enligne/ modifié 18-février-2004 MR pcq expression ou terme enlignage vs inlining +# - hors gamme a été changé pour hors limite ...MR 09-jan-2004 +# - literal +# - chaine de format => formatage +# - scope +# - supporté est un faux ami +# +# A rapporter upstream: +# <<<<<<<< +# In c-opts.c, begining line 1732, a lot of options are of the kind: +# " -W[no-]trigraphs Warn if trigraphs are encountered\n" +# I guess it would be better to change them all to something like +# " -W[no-]trigraphs Warn [or not] if trigraphs are encountered\n" +# +# +# #: c-opts.c:1759 +# " -MP\t\t\t Generate phony targets for all headers\n" +# you may want to change the \t to spaces, as it is done for the other lines. +# +# #: c-typeck.c:3166 c-typeck.c:4632 c-typeck.c:4648 c-typeck.c:4664 +# #: final.c:3146 final.c:3148 gcc.c:4397 rtl-error.c:122 toplev.c:1694 +# #: config/cris/cris.c:529 cp/typeck.c:4341 java/expr.c:364 java/verify.c:1467 +# #: java/verify.c:1468 java/verify.c:1483 +# #, c-format +# msgid "%s" +# msgstr "%s" +# +# Are you sure you want to translate the messages in cfgrtl.c, or are they +# debugging informations ? +# +# You may want to use ngettext instead of putting (s) in text. +# msgid "null character(s) preserved in literal" +# +# >>>>>>>>> +# +msgid "" +msgstr "" +"Project-Id-Version: GNU gcc 3.4-b20040206\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2004-02-20 21:00-0500\n" +"Last-Translator: Michel Robitaille \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8-bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "le C traditionnel rejette le plus unaire" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s : %s" + +#: cppcharset.c:653 +#, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "conversion de %s vers %s n'est pas supporté par iconv" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "iconv_open" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "pas d'implantation iconv, ne peut convertir de %s vers %s" + +#: cppcharset.c:808 +msgid "universal character names are only valid in C++ and C99" +msgstr "noms de caractère universel sont seulement valides en C++ et C89" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "la signification de « \\%c » est différente en C traditionel" + +# FIXME +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "nom de caractère universel incomplet %.*s" + +#: cppcharset.c:849 +#, c-format +msgid "%.*s is not a valid universal character" +msgstr "%.*s n'est pas un caractère universel valide" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "caractère universel %.*s n'est pas valide dans un identificcateur" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" +"caractère universel %.*s n'est pas valide au début d'un identificcateur" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "conversion UCN vers le jeu source de caractères" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "conversion UCN vers le jeu d'exécution de caractères" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "la signification de « \\x » est différente en C traditionel" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x utilisé sans être suivi de chiffres en hexdécimal" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "séquence d'échappement hexadécimale hors limite" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "séquence d'échappement octale hors limite" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "la signification de « \\a » est différente en C traditionel" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "séquence d'échappement « \\%c » non conforme au standard ISO" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "séquence d'échappement « \\%c » inconnue" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "séquence d'échappement « \\%03o » inconnue" + +#: cppcharset.c:1122 +msgid "converting escape sequence to execution character set" +msgstr "" +"conversion d'une séquence d'échappement vers un jeu d'exécution de caractères" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "conversion vers un jeu d'exécution de caractères" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "constante caractère trop longue pour son type" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "constante caractère multi-caractères" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "constante caractère vide" + +#: cppcharset.c:1378 +#, c-format +msgid "failure to convert %s to %s" +msgstr "échec de conversion de %s vers %s" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "attention : " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "erreur interne : " + +#: cpperror.c:174 +msgid "stdout" +msgstr "stdout" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "trop de points décimaux dans le nombre" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "chiffre « %c » invalide dans la constante en base 8" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "usage d'une constante hexadécimale constante à la C99" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "l'exposant n'a pas de chiffre" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "la contante hexadécimale flottante requière un exposant" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "suffixe « %.*s » invalide pour une constante flottante" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "le C traditionnel interdit le suffixe « %.*s »" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "suffixe « %.*s » invalide pour une constante entière" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "usage d'une constante entière « long long » à la C99" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "les constantes imaginaires sont une extension GCC" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "constante entière trop grande pour tenir dans son type" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "cette constante entière est si grande qu'elle ne peut être signée" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "« ) » manquant après « defined »" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "l'opérateur « defined » requiert un identificateur" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(« %s » est un élément lexical alternatif pour « %s » en C++)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "cette utilisation de « defined » peut ne pas être portable" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "constante flottante dans une expresion pour le préprocesseur" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "constante complexe dans une expresion pour le préprocesseur" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "« %s » n'est pas défini" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "opérateur binaire manquant avant l'élément lexical « %s »" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "" +"l'élément lexical « %s » n'est pas valide dans les expressions pour le " +"préprocesseur" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "expression void entre parenthèses" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if sans expression" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "l'opérateur « %s » n'a pas d'opérande droite" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "« : » n'est pas précédé de « ? »" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "pile non balancée dans #if" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "opérateur impossible « %u »" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "« ) » manquante dans l'expresion" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "« ? » n'est pas suivi de « : »" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "débordement d'entier dans l'expresion pour le préprocesseur" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "« ( » manquante dans l'expresion" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "L'opérande gauche de « %s » change de signe lors de sa promotion" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "L'opérande droite de « %s » change de signe lors de sa promotion" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "opérateur virgule dans l'opérande de #if" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "division par zéro dans #if" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "répertoire NUL dans find_file" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" +"un ou plusieurs fichiers PCH ont été repérés, mais ils étaient invalides" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "utiliser -Winvalid-pch pour plus d'informations" + +# FIXME +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s est un périphérique de blocs" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s est trop grand" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s est plus petit que prévu" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "aucun chemin d'inclusion dans lequel on pourrait repérer %s" + +# FIXME +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "De multiples balises pour les inclusions peuvent être utiles pour:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t doit être d'un type non signé" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"l'arithmétique du préprocesseur a une précision maximale de %lu bits ; la " +"cible requière %lu bits" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" +"l'arithmétique de CPP doit être au moins aussi précise que le type int de la " +"cible" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "sur la cible, « char » fait moins de 8 bits" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "sur la cible, « wchar_t » est plus petit que « char »" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "sur la cible, « int » est plus petit que « char »" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "les demi-entiers de CPP sont plus petit que les caractères de CPP" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"CPP sur cette machine ne peut gérer les constantes larges de caractères de " +"plus de %lu bits, mais la cible requière %lu bits" + +# I18N +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "caractère(s) nul(s) ignoré(s)" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "« $ » dans un identificateur ou un nombre" + +# FIXME +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "tentative d'utilisation d'un « %s » corrompu" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"« __VA_ARGS__ » peut seulement appraître dans l'expansion des macros C99 à " +"nombre variable d'arguments" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "caractère(s) nul préservé(s) dans la chaîne" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "commentaire non terminé" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "Les commentaires à la C++ ne sont pas permis en C89 ISO" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(ceci sera rapporté une seule fois seulement par fichier d'entrée)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "commentaire multi-lignes" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "l'élément lexical %s ne peut être épelé" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "éléments lexicaux superflus à la fin de la directive #%s" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s est une extension GCC" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "il est suggéré de ne pas utiliser #elif en C traditionnel" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "le C traditionel ignore la directive #%s si le caractère # est indenté" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "il est suggéré de cacher #%s au C traditionel en indentant le « # »" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "placer une directive dans les arguments d'une macro n'est pas portable" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "la directive de style de ligne est extension GCC" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "directive de pré-traitement #%s invalide" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "« defined » ne peut être utilisé comme nom de macro" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" +"« %s » ne peut être utilisé comme nom de macro car c'est un opérateur en C++" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "aucun nom de macro donné dans la directive #%s" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "les noms de macro doivent être des identificateurs" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "indéfinition de « %s »" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "caractère > de terminaison manquant" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s attend \"NOM_DE_FICHIER\" ou " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include imbriqué trop profondément" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next dans un fichier source primaire" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "fanion « %s » invalide dans la ligne de directive" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "« %s » après #line n'est pas un nombre entier positif" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "numéro de ligne hors limite" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "« %s » n'est pas un nom de fichier valide" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "« %s » après # n'est pas un nombre entier positif" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "directive #ident invalide" + +# FIXME +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" +"enregistrement de \"%s\" à la fois comme une pragma un espace de nom de " +"pragma" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "la #pragma %s %s est déjà enregistrée" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "la #pragma %s est déjà enregistrée" + +# FIXME +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma utilisé une seule fois dans le fichier principal" + +# FIXME +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "la directive corrompue #pragma GCC est invalide" + +# FIXME +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "corruption de la macro existente « %s »" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "#pragma system_header ignorée en dehors du fichier d'inclusion" + +#: cpplib.c:1255 +#, c-format +msgid "cannot find source file %s" +msgstr "impossible de trouver le fichier source %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "le fichier courant est plus vieux que %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma prend une chaîne entourée de parenthèrese" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else sans #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else après #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif sans #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif après #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif sans #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "« ( » manquante après le prédicat" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "« ) » manquante pour completer la réponse" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "la réponse du prédicat est vide" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "assertion sans prédicat" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "le prédicat doit être un identificateur" + +# FIXME +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "« %s » re-asserti" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "macro interne invalide « %s »" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "ne peut déterminer la date et l'heure" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "chaîne invalide, « \\ » final ignoré" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" +"le collage de « %s » et de « %s » ne donne pas d'élément lexical de pré-" +"traitement valide" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C99 requiert que tous les arguments soient utilisés" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "macro « %s » requiert %u arguments, mais seulement %u ont été passés" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "la macro « %s » a reçu %u arguments, mais elle n'en prend que %u" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "liste d'arguments non terminée invoquant la macro « %s »" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" +"la macro « %s » ressemblant à une fonction doit utilisée avec des arguments " +"en C traditionnel" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "paramètre de macro « %s » en double" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "« %s » peut ne pas apparaître parmi les paramètres de macros" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "les paramètres de macro doivent être séparés par des virgules" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "nom de paramètre manquant" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" +"les macros anonymes à nombre variable d'arguments ont été introduites avec " +"le C99" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C ne permet pas les macros nommées à nombre variable d'arguments" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "« ) » manquante dans la liste des paramètres de macros" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C requiert un blanc après le nom de la macro" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "« # » n'est pas suivi d'un paramètre de macro" + +# FIXME +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "« ## » ne peut apparaître à chacune des fins de l'expansion de macros" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "l'argument macro « %s » serait changé en chaine en C traditionnel" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "type de hachage %d invalide dans cpp_macro_definition" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "lors de l'écriture de l'en-tête pré-compilée" + +#: cpppch.c:469 +#, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "%s: n'est pas utilisé parce que « %.*s » n'est pas définie" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" +"%s: n'est pas utilisé parce que « %.*s » est défini en tant « %s » et non " +"pas « %.*s »" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "%s: non utilisé parce que « %s » est défini" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "lors de la lecture de l'en-tête pré-compilée" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "« %s » n'est pas une option valide pour le préprocesseur" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "trop de fichiers d'entrée" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "récursion détectée lors de l'expansion de la macro « %s »" + +#: cpptrad.c:911 +msgid "syntax error in macro parameter list" +msgstr "erreur de syntaxe dans la liste de paramètres macro" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "Dans le fichier inclus à partir de %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" à partir de %s:%u" + diff --git a/libcpp/po/ja.po b/libcpp/po/ja.po new file mode 100644 index 00000000000..462c2360e8d --- /dev/null +++ b/libcpp/po/ja.po @@ -0,0 +1,803 @@ +# Japanese messages for gcc 3.0 +# Copyright (C) 2001 Free Software Foundation, Inc. +# Daisuke Yamashita , 1999-2001 +# Masahito Yamaga , 1999. +# IIDA Yosiaki , 1999. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.0\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2001-12-05 22:47+0900\n" +"Last-Translator: Daisuke Yamashita \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "¸Å¤¤ C ¤Ç¤Ïñ¹à¥×¥é¥¹±é»»»Ò¤òµñÈݤ·¤Þ¤¹" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "NaN ¤«¤éÉä¹ç̵¤·À°¿ô¤Ø¤ÎÊÑ´¹¤Ç¤¹" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "¥æ¥Ë¥Ð¡¼¥µ¥ëʸ»ú̾ `\\U%08x' ¤Ï¼±Ê̻ҤÎÃæ¤Ç¤ÏÍ­¸ú¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cppcharset.c:811 +#, fuzzy, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "'\\%c' ¤Î°ÕÌ£¤Ï -traditional ¤ò¤Ä¤±¤¿¾ì¹ç¤È°Û¤Ê¤ê¤Þ¤¹" + +#: cppcharset.c:837 +#, fuzzy, c-format +msgid "incomplete universal character name %.*s" +msgstr "̵¸ú¤Ê ¥æ¥Ë¥Ð¡¼¥µ¥ëʸ»ú̾" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "ÉÔŬÀڤʥæ¥Ë¥Ð¡¼¥µ¥ë¥­¥ã¥é¥¯¥¿Ì¾" + +#: cppcharset.c:859 +#, fuzzy, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "¥æ¥Ë¥Ð¡¼¥µ¥ëʸ»ú̾ `\\U%08x' ¤Ï¼±Ê̻ҤÎÃæ¤Ç¤ÏÍ­¸ú¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cppcharset.c:863 +#, fuzzy, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "¥æ¥Ë¥Ð¡¼¥µ¥ëʸ»ú̾ `\\U%08x' ¤Ï¼±Ê̻ҤÎÃæ¤Ç¤ÏÍ­¸ú¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "" + +#: cppcharset.c:967 +#, fuzzy +msgid "the meaning of '\\x' is different in traditional C" +msgstr "'\\a' ¤Î°ÕÌ£¤Ï -traditional ¤ò¤Ä¤±¤¿¾ì¹ç¤È°Û¤Ê¤ê¤Þ¤¹" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x ¤Ë¡¢¤½¤ì¤Ë³¤¯¤Ï¤º¤Î 16 ¿Ê¿ô¤¬¤¢¤ê¤Þ¤»¤ó" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "16 ¿Ê¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤¬Èϰϳ°¤Ç¤¹" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "8 ¿Ê¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤¬Èϰϳ°¤Ç¤¹" + +#: cppcharset.c:1098 +#, fuzzy +msgid "the meaning of '\\a' is different in traditional C" +msgstr "'\\a' ¤Î°ÕÌ£¤Ï -traditional ¤ò¤Ä¤±¤¿¾ì¹ç¤È°Û¤Ê¤ê¤Þ¤¹" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "Èó ISO ɸ½à¤Î¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹, '\\%c'" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "ÉÔÌÀ¤Ê¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ '\\%c'" + +#: cppcharset.c:1116 +#, fuzzy, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "ÉÔÌÀ¤Ê¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹ '\\%c'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "ʸ»ú¤ËÂФ¹¤ë¥¨¥¹¥±¡¼¥×¥·¡¼¥±¥ó¥¹¤¬ÈϰϤò³°¤ì¤Æ¤¤¤Þ¤¹" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +#, fuzzy +msgid "character constant too long for its type" +msgstr "ʸ»úÄê¿ô¤¬Ä¹¤¹¤®¤Þ¤¹" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "Ê£¿ôʸ»ú¤«¤é¤Ê¤ëʸ»úÄê¿ô" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "¶õ¤Îʸ»úÄê¿ô" + +#: cppcharset.c:1378 +#, c-format +msgid "failure to convert %s to %s" +msgstr "" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "·Ù¹ð: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "ÆâÉô¥¨¥é¡¼: " + +#: cpperror.c:174 +#, fuzzy +msgid "stdout" +msgstr "¹½Â¤ÂÎ" + +#: cppexp.c:192 +#, fuzzy +msgid "too many decimal points in number" +msgstr "`asm' Ãæ¤ÎÂåÂØ¥­¡¼¥ï¡¼¥É¤¬Â¿¤¹¤®¤Þ¤¹" + +#: cppexp.c:212 +#, fuzzy, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "̵¸ú¤Ê¶çÆÉÅÀ `%c' ¤¬À©ÌóÆâ¤Ë¤¢¤ê¤Þ¤¹" + +#: cppexp.c:218 +#, fuzzy +msgid "use of C99 hexadecimal floating constant" +msgstr "16 ¿ÊÉâÆ°¾®¿ôÄê¿ô¤¬¤Ù¤­¾è¤ò»ý¤Á¤Þ¤»¤ó" + +#: cppexp.c:227 +#, fuzzy +msgid "exponent has no digits" +msgstr "ÉâÆ°¾®¿ôÄê¿ô¤Î¤Ù¤­¿ô¤¬¡¢¥¢¥é¥Ó¥¢¿ô»ú¤ò»ý¤Ã¤Æ¤¤¤Þ¤»¤ó" + +#: cppexp.c:234 +#, fuzzy +msgid "hexadecimal floating constants require an exponent" +msgstr "16 ¿ÊÉâÆ°¾®¿ôÄê¿ô¤¬¤Ù¤­¾è¤ò»ý¤Á¤Þ¤»¤ó" + +#: cppexp.c:240 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "ÀÜÈø¼­ '%.*s' ¤ÏÀ°¿ôÄê¿ô¤Ë¤Ï̵¸ú¤Ç¤¹" + +#: cppexp.c:250 cppexp.c:275 +#, fuzzy, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "¸Å¤¤ C ¤Ç¤Ï 'f' ÀÜÈø¼­¤¬µñÈݤµ¤ì¤Þ¤¹" + +#: cppexp.c:261 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "ÀÜÈø¼­ '%.*s' ¤ÏÀ°¿ôÄê¿ô¤Ë¤Ï̵¸ú¤Ç¤¹" + +#: cppexp.c:283 +#, fuzzy +msgid "use of C99 long long integer constant" +msgstr "ISO C89 ¤Ç¤Ï long long À°¿ôÄê¿ô¤ò¶Ø¤¸¤Þ¤¹" + +#: cppexp.c:290 +#, fuzzy +msgid "imaginary constants are a GCC extension" +msgstr "#if ¼°¤ÎÃæ¤Ç¤Ïʸ»úÎóÄê¿ô¤¬»È¤¨¤Þ¤»¤ó" + +#: cppexp.c:376 +#, fuzzy +msgid "integer constant is too large for its type" +msgstr "À°¿ôÄê¿ô¤¬Â礭¤¹¤®¤ë¤Î¤Ç unsigned ¤Ë¤Ê¤ê¤Þ¤·¤¿" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "À°¿ôÄê¿ô¤¬Â礭¤¹¤®¤ë¤Î¤Ç unsigned ¤Ë¤Ê¤ê¤Þ¤·¤¿" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "\"defined\" ¤Î¸å¤í¤Î ')' ¤¬·ç¤±¤Æ¤¤¤Þ¤¹" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "\"defined\" ±é»»»Ò¤Ï¼±Ê̻ҤòÍ׵ᤷ¤Þ¤¹" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "¡ÊC++ ¤Ç¤Ï \"%s\" ¤¬ \"%s\" ¤ÎÂåÂإȡ¼¥¯¥ó¤Ç¤¹¡Ë" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +#, fuzzy +msgid "floating constant in preprocessor expression" +msgstr "À°¿ô¤¬¥×¥ê¥×¥í¥»¥Ã¥µ¼°Æâ¤Ç¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤·¤Þ¤·¤¿" + +#: cppexp.c:537 +#, fuzzy +msgid "imaginary number in preprocessor expression" +msgstr "À°¿ô¤¬¥×¥ê¥×¥í¥»¥Ã¥µ¼°Æâ¤Ç¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤·¤Þ¤·¤¿" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" ¤ÏÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "" + +#: cppexp.c:734 +#, fuzzy, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "À°¿ô¤¬¥×¥ê¥×¥í¥»¥Ã¥µ¼°Æâ¤Ç¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤·¤Þ¤·¤¿" + +#: cppexp.c:753 +#, fuzzy +msgid "void expression between '(' and ')'" +msgstr "¼°Ê¸¤¬Ìµ¸ú¤Ç¤¹" + +#: cppexp.c:756 +#, fuzzy +msgid "#if with no expression" +msgstr " throw ¤µ¤ì¤¿¼°¤ÎÃæ" + +#: cppexp.c:758 +#, fuzzy, c-format +msgid "operator '%s' has no right operand" +msgstr "È¿Éü»Ò `%s' ¤ÏÈóÀ°¿ô·¿¤Ç¤¹" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "" + +#: cppexp.c:811 +#, fuzzy +msgid "unbalanced stack in #if" +msgstr "Âбþ¤·¤Æ¤¤¤Ê¤¤ #endif" + +#: cppexp.c:830 +#, fuzzy, c-format +msgid "impossible operator '%u'" +msgstr "¤¢¤ê¤¨¤Ê¤¤±é»»»Ò '%s'" + +#: cppexp.c:922 +#, fuzzy +msgid "missing ')' in expression" +msgstr "Äê¿ô¼°¤¬·ç¤±¤Æ¤¤¤ë¤«Ìµ¸ú¤Ç¤¹" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "À°¿ô¤¬¥×¥ê¥×¥í¥»¥Ã¥µ¼°Æâ¤Ç¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤·¤Þ¤·¤¿" + +#: cppexp.c:958 +#, fuzzy +msgid "missing '(' in expression" +msgstr "Äê¿ô¼°¤¬·ç¤±¤Æ¤¤¤ë¤«Ìµ¸ú¤Ç¤¹" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "¥«¥ó¥Þ±é»»»Ò¤¬ #if ±é»»»Ò¤ÎÃæ¤Ë¤¢¤ê¤Þ¤¹" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "#if ¤Ç¥¼¥í½ü»»¤¬È¯À¸¤·¤Þ¤·¤¿" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s ¤Ï¥Ö¥í¥Ã¥¯¥Ç¥Ð¥¤¥¹¤Ç¤¹" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s ¤ÏÂ礭¤¹¤®¤Þ¤¹" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s ¤¬ËÜÍè¤è¤ê¤âû¤¤¤Ç¤¹" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "%s ¤ò¸«¤Ä¤±¤ë¤¿¤á¤Î¥¤¥ó¥¯¥ë¡¼¥É¥Ñ¥¹¤¬¤¢¤ê¤Þ¤»¤ó" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "¿½Å include ¤«¤é¤ÎÊݸͭ±×¤È¤Ê¤ë¤Ç¤·¤ç¤¦:\n" + +#: cppinit.c:389 +#, fuzzy +msgid "cppchar_t must be an unsigned type" +msgstr "½Ò¸ì¤Ï¼±Ê̻ҤǤʤ±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "null ʸ»ú¤Ï̵»ë¤µ¤ì¤Þ¤·¤¿" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "±øÀ÷¤µ¤ì¤¿ '%s' »È¤ª¤¦¤È¤·¤Æ¤¤¤Þ¤¹" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "__VA_ARGS__ ¤Ï C99 ²ÄÊÑ°ú¿ô¥Þ¥¯¥í³ÈÄ¥¤Ç¤Î¤ß½Ð¸½¤Ç¤­¤Þ¤¹" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "¥ê¥Æ¥é¥ëÃæ¤Ç null ʸ»ú¤¬³ÎÊݤµ¤ì¤Þ¤·¤¿" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "½ªÃ¼¤µ¤ì¤Æ¤¤¤Ê¤¤¥³¥á¥ó¥È" + +#: cpplex.c:927 +#, fuzzy +msgid "C++ style comments are not allowed in ISO C90" +msgstr "C++ ¥¹¥¿¥¤¥ë¤Î¥³¥á¥ó¥È¤Ï ISO C89 ¤Ç¤Ïµö¤µ¤ì¤Þ¤»¤ó" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(¤³¤ì¤ÏÆþÎÏ¥Õ¥¡¥¤¥ë¤Ë¤Ä¤­°ì²ó¤À¤±Êó¹ð¤µ¤ì¤Þ¤¹)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "Ê£¿ô¹Ô¤Î¥³¥á¥ó¥È" + +#: cpplex.c:1198 +#, fuzzy, c-format +msgid "unspellable token %s" +msgstr "ÄÖ¤ì¤Ê¤¤¥È¡¼¥¯¥ó %s ¤Ç¤¹" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr ";ʬ¤Ê¥È¡¼¥¯¥ó¤¬ #%s ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Î½ª¤ê¤Ë¤¢¤ê¤Þ¤¹" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s ¤Ï GCC ¤Î³ÈÄ¥¤Ç¤¹" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "¸Å¤¤ C ¤Ç¤Ï #elif ¤ò»È¤ï¤Ê¤¤Êý¤¬¤¤¤¤¤Ç¤¹" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "¸Å¤¤ C ¤Ç¤Ï¡¢¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤¿ # ¤Î #%s ¤ò̵»ë¤·¤Þ¤¹" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "¥¤¥ó¥Ç¥ó¥È¤µ¤ì¤¿ # ¤¬¤¢¤ë¸Å¤¤ C ¤«¤é¤Ï #%s ¤ò±£¤¹¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +#, fuzzy +msgid "style of line directive is a GCC extension" +msgstr "#%s ¤Ï GCC ¤Î³ÈÄ¥¤Ç¤¹" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "̵¸ú¤Ê¥×¥ê¥×¥í¥»¥¹¥Ç¥£¥ì¥¯¥Æ¥£¥ô #%s" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "\"defined\" ¤ò¥Þ¥¯¥í̾¤È¤·¤Æ¤Ï»È¤¨¤Þ¤»¤ó" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "\"%s\" ¤Ï C++ ¤Î±é»»»Ò¤Ç¤¢¤ê¡¢¥Þ¥¯¥í̾¤È¤·¤Æ»ÈÍѤ¹¤ë¤³¤È¤Ï¤Ç¤­¤Þ¤»¤ó" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "¥Þ¥¯¥í̾¤¬ #%s ¥Ç¥£¥ì¥¯¥Æ¥£¥ÖÃæ¤ËÍ¿¤¨¤é¤ì¤Æ¤¤¤Þ¤»¤ó" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "¥Þ¥¯¥í̾¤Ï¼±Ê̻ҤǤʤ¯¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "\"%s\" ¤ò undef ¤·¤Þ¤¹" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "½ªÃ¼Ê¸»ú > ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s ¤Ï \"¥Õ¥¡¥¤¥ë̾\" ¤¢¤ë¤¤¤Ï <¥Õ¥¡¥¤¥ë̾> ¤òɬÍפȤ·¤Þ¤¹" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include ¤Î¥Í¥¹¥È¤¬¿¼¤¹¤®¤Þ¤¹" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "#include_next ¤¬¼ç¤¿¤ë¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤Ë¤¢¤ê¤Þ¤¹" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "\"%s\" ¤Ï line ¥Ç¥£¥ì¥¯¥Æ¥£¥Ö¤Ç¤Ï̵¸ú¤Ê¥Õ¥é¥°¤Ç¤¹" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "#line ¤Î¸å¤í¤Î \"%s\" ¤¬Àµ¤ÎÀ°¿ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "¹ÔÈֹ椬Èϰϳ°¤Ç¤¹" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" ¤ÏÀµ¾ï¤Ê¥Õ¥¡¥¤¥ë̾¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:847 +#, fuzzy, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "#line ¤Î¸å¤í¤Î \"%s\" ¤¬Àµ¤ÎÀ°¿ô¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:947 +#, fuzzy +msgid "invalid #ident directive" +msgstr "̵¸ú¤Ê #ident" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, fuzzy, c-format +msgid "#pragma %s %s is already registered" +msgstr "¥¯¥é¥¹ `%s' ¤Ï´û¤Ë¸ºß¤·¤Þ¤¹" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma once ¤¬¥á¥¤¥ó¥Õ¥¡¥¤¥ë¤Ë¤¢¤ê¤Þ¤¹" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "#pragma GCC ±øÀ÷¥Ç¥£¥ì¥¯¥Æ¥£¥ô¤¬Ìµ¸ú¤Ç¤¹" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "´û¸¤Î¥Þ¥¯¥í \"%s' ¤ò±øÀ÷¤·¤Þ¤¹" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "include ¥Õ¥¡¥¤¥ë³°¤Î #pragma system_header ¤Ï̵»ë¤µ¤ì¤Þ¤·¤¿" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "¥½¡¼¥¹ %s ¤¬¸«¤Ä¤«¤ê¤Þ¤»¤ó" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "¸½ºß¤Î¥Õ¥¡¥¤¥ë¤Ï %s ¤è¤ê¸Å¤¤¤Ç¤¹" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pramga ¤¬³ç¸Ì¤Ç°Ï¤Þ¤ì¤¿Ê¸»úÎó¥ê¥Æ¥é¥ë¤ò¼õ¤±¼è¤ê¤Þ¤·¤¿" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else ¤Ë #if ¤¬¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else ¤¬ #else ¤Î¸å¤í¤Ë¤¢¤ê¤Þ¤¹" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif ¤Ë #if ¤¬¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif ¤¬ #else ¤Î¸å¤í¤Ë¤¢¤ê¤Þ¤¹" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif ¤Ë #if ¤¬¤¢¤ê¤Þ¤»¤ó" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "½Ò¸ì¤Î¸å¤í¤Î '(' ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "²ò¤òÊä´°¤¹¤ë ')' ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "½Ò¸ì¤Î²ò¤¬¶õ¤Ç¤¹" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "½Ò¸ì¤Î¤Ê¤¤¥¢¥µ¡¼¥·¥ç¥ó¤Ç¤¹" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "½Ò¸ì¤Ï¼±Ê̻ҤǤʤ±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "\"%s\" ¤¬ºÆ¥¢¥µ¡¼¥È¤µ¤ì¤Þ¤·¤¿" + +#: cppmacro.c:125 cppmacro.c:280 +#, fuzzy, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "ÁȤ߹þ¤ß¥Þ¥¯¥í \"%s\" ¤Ï̵¸ú¤Ç¤¹" + +#: cppmacro.c:221 +#, fuzzy +msgid "could not determine date and time" +msgstr "°Í¸´Ø·¸¤ÎÄÉÀפΤ¿¤á¤Î¥¿¡¼¥²¥Ã¥È̾¤¬ÆÃÄê¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "ʸ»úÎó¥ê¥Æ¥é¥ë¤¬Ìµ¸ú¤Ç¤¹¡¢ºÇ¸å¤Î '\\' ¤ò̵»ë¤·¤Þ¤¹" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" +"\"%s\" ¤È \"%s\" ¤òŽÉÕ¤±¤Þ¤·¤¿¤¬Àµ¾ï¤Ê¥×¥ê¥×¥í¥»¥Ã¥µ¥È¡¼¥¯¥ó¤È¤Ê¤ê¤Þ¤»¤ó" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C99 ¤Ï»ÈÍѤµ¤ì¤ë¤Ù¤­»Ä¤ê¤Î¤Î°ú¿ô¤òÍ׵ᤷ¤Þ¤¹" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "¥Þ¥¯¥í \"%s\" ¤Ï°ú¿ô¤ò %u Í׵ᤷ¤Þ¤¹¤¬¡¢%u ¸Ä¤·¤«Í¿¤¨¤é¤ì¤Æ¤¤¤Þ¤»¤ó" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "¥Þ¥¯¥í \"%s\" ¤Ë°ú¿ô¤¬ %u ÅϤµ¤ì¤Þ¤·¤¿¤¬¡¢%u ¤·¤«¼õ¤±¼è¤ê¤Þ¤»¤ó" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "½ªÃ¼¤µ¤ì¤Æ¤¤¤Ê¤¤°ú¿ô¥ê¥¹¥È¤¬¥Þ¥¯¥í \"%s\" ¤òµ¯Æ°¤·¤è¤¦¤È¤·¤Þ¤·¤¿" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "¸Å¤¤ C ¤Ç¤Ï¡¢´Ø¿ôŪ¥Þ¥¯¥í \"%s\" ¤Ë°ú¿ô¤¬Í¿¤¨¤é¤ì¤Í¤Ð¤Ê¤ê¤Þ¤»¤ó" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "¥Þ¥¯¥í²¾°ú¿ô \"%s\" ¤¬½ÅÊ£¤·¤Æ¤¤¤Þ¤¹" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "\"%s\" ¤Ï¥Þ¥¯¥í²¾°ú¿ô¥ê¥¹¥È¤Ë¸½¤ì¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "¥Þ¥¯¥í²¾°ú¿ô¤Ï¥«¥ó¥Þ¶èÀڤꤵ¤ì¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "²¾°ú¿ô̾¤ò·ç¤¤¤Æ¤¤¤Þ¤¹" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "̵̾²ÄÊÑ°ú¿ô¥Þ¥¯¥í¤Ï C99 ¤ÇºÎ¤êÆþ¤ì¤é¤ì¤Þ¤·¤¿" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C ¤Ç¤Ï̾Á°¤Ä¤­²ÄÊÑ°ú¿ô¥Þ¥¯¥í¤òµö¤·¤Þ¤»¤ó" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "¥Þ¥¯¥í²¾°ú¿ô¥ê¥¹¥È¤Ç¡¢')' ¤ò·ç¤¤¤Æ¤¤¤Þ¤¹" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C ¤Ç¤Ï¥Þ¥¯¥í̾¤Î¸å¤í¤Ë¶õÇò¤òÍ׵ᤷ¤Þ¤¹" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "'#' ¤Ë¥Þ¥¯¥í²¾°ú¿ô̾¤¬Â³¤¤¤Æ¤¤¤Þ¤»¤ó" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "'##' ¤Ï¥Þ¥¯¥íŸ³«¤Îξü¤Ë¤Ï½Ð¸½¤Ç¤­¤Þ¤»¤ó" + +#: cppmacro.c:1588 +#, fuzzy, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "¥Þ¥¯¥í°ú¿ô \"%s\" ¤Ï -traditional ¤ò¤Ä¤±¤ë¤Èʸ»úÎ󲽤µ¤ì¤¿»ö¤Ç¤·¤ç¤¦" + +#: cppmacro.c:1611 +#, fuzzy, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "dump_definition ¤Ë ̵¸ú¤Ê¥Ï¥Ã¥·¥å¥¿¥¤¥× %d" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "¥é¥Ù¥ë `%s' ¤¬»È¤ï¤ì¤Þ¤·¤¿¤¬ÄêµÁ¤µ¤ì¤Æ¤¤¤Þ¤»¤ó" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "`%s' ¤¬»È¤ï¤ì¤Þ¤·¤¿¤¬Ì¤ÄêµÁ¤Ç¤¹" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "\"%s\" ¤Ï¥×¥ê¥×¥í¥»¥Ã¥µ¤ËÂФ¹¤ëÀµ¾ï¤Ê¥ª¥×¥·¥ç¥ó¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "ÆþÎÏ¥Õ¥¡¥¤¥ë¤¬Â¿¤¹¤®¤Þ¤¹" + +#: cpptrad.c:744 +#, fuzzy, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "½ªÃ¼¤µ¤ì¤Æ¤¤¤Ê¤¤°ú¿ô¥ê¥¹¥È¤¬¥Þ¥¯¥í \"%s\" ¤òµ¯Æ°¤·¤è¤¦¤È¤·¤Þ¤·¤¿" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "\"%s\" ¤Ï¥Þ¥¯¥í²¾°ú¿ô¥ê¥¹¥È¤Ë¸½¤ì¤Æ¤Ï¤Ê¤ê¤Þ¤»¤ó" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "%s:%u ¤«¤é include ¤µ¤ì¤¿¥Õ¥¡¥¤¥ëÃæ" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" %s:%u ¤«¤é" + diff --git a/libcpp/po/nl.po b/libcpp/po/nl.po new file mode 100644 index 00000000000..2423f7ad06e --- /dev/null +++ b/libcpp/po/nl.po @@ -0,0 +1,834 @@ +# Dutch messages for gcc 3.x. +# Copyright (C) 1999, 2000, 2002, 2003 Free Software Foundation, Inc. +# Tim Van Holder , 1999, 2000, 2002, 2003. +# +# Still a lot of fuzzies, since this started life as a +# .po file for gcc 2.95.2. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.3.2\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2003-10-26 10:40+0100\n" +"Last-Translator: Tim Van Holder \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "afrondingsmodus niet ondersteund voor VAX-floats" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "case-waarde buiten bereik" + +#: cppcharset.c:811 +#, fuzzy, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "" +"de betekenis van `\\a' varieert naargelang -traditional al dan niet gebruikt " +"wordt" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "`%s' is geen iterator" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" + +#: cppcharset.c:898 +msgid "converting UCN to source character set" +msgstr "" + +#: cppcharset.c:902 +msgid "converting UCN to execution character set" +msgstr "" + +#: cppcharset.c:967 +#, fuzzy +msgid "the meaning of '\\x' is different in traditional C" +msgstr "" +"de betekenis van `\\x' varieert naargelang -traditional al dan niet gebruikt " +"wordt" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x gebruikt zonder daaropvolgende hexadecimale cijfers" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "hexadecimale escape sequence buiten bereik" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "octale escape sequence buiten bereik" + +#: cppcharset.c:1098 +#, fuzzy +msgid "the meaning of '\\a' is different in traditional C" +msgstr "" +"de betekenis van `\\a' varieert naargelang -traditional al dan niet gebruikt " +"wordt" + +#: cppcharset.c:1105 +#, fuzzy, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "niet-ANSI-standaard escape sequence `\\%c'" + +#: cppcharset.c:1113 +#, fuzzy, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "onbekende escape sequence `\\%c'" + +#: cppcharset.c:1116 +#, fuzzy, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "onbekende escape sequence `\\%c'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "octale escape sequence buiten bereik" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +#, fuzzy +msgid "character constant too long for its type" +msgstr "karakterconstante te lang" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "karakterconstante met meer dan één karakter" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "lege karakterconstante" + +# 'regio' klinkt niet echt, maar 'streek' lijkt me nog slechter +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "kon 0x%l.8x niet naar een regio omzetten" + +# Dit zou misschien beter 'warning' blijven +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "let op: " + +#: cpperror.c:112 +#, fuzzy +msgid "internal error: " +msgstr "interne fout" + +#: cpperror.c:174 +#, fuzzy +msgid "stdout" +msgstr "struct" + +#: cppexp.c:192 +#, fuzzy +msgid "too many decimal points in number" +msgstr "teveel `l'en in integerconstante" + +#: cppexp.c:212 +#, fuzzy, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "twee `u's in integerconstante" + +#: cppexp.c:218 +#, fuzzy +msgid "use of C99 hexadecimal floating constant" +msgstr "hexadecimale floating-point constante heeft geen exponent" + +#: cppexp.c:227 +#, fuzzy +msgid "exponent has no digits" +msgstr "exponent van floating-point constante heeft geen cijfers" + +#: cppexp.c:234 +#, fuzzy +msgid "hexadecimal floating constants require an exponent" +msgstr "hexadecimale floating-point constante heeft geen exponent" + +#: cppexp.c:240 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "misvormde floating-point constante" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "" + +#: cppexp.c:261 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "twee `u's in integerconstante" + +#: cppexp.c:283 +#, fuzzy +msgid "use of C99 long long integer constant" +msgstr "ANSI C verbiedt long long integerconstantes" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "" + +#: cppexp.c:376 +#, fuzzy +msgid "integer constant is too large for its type" +msgstr "integerconstante is zo groot dat hij unsigned is" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "integerconstante is zo groot dat hij unsigned is" + +#: cppexp.c:470 +#, fuzzy +msgid "missing ')' after \"defined\"" +msgstr "witruimte ontbreekt na `#define %.*s'" + +#: cppexp.c:477 +#, fuzzy +msgid "operator \"defined\" requires an identifier" +msgstr "`defined' zonder een naam" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +#, fuzzy +msgid "floating constant in preprocessor expression" +msgstr "integer-overflow in preprocessor-expressie" + +#: cppexp.c:537 +#, fuzzy +msgid "imaginary number in preprocessor expression" +msgstr "integer-overflow in preprocessor-expressie" + +#: cppexp.c:582 +#, fuzzy, c-format +msgid "\"%s\" is not defined" +msgstr "`%.*s' is niet gedefinieerd" + +# 'whitespace' -> 'witruimte'? +#: cppexp.c:714 cppexp.c:743 +#, fuzzy, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "ontbrekende witruimte na getal `%s'" + +#: cppexp.c:734 +#, fuzzy, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "stringconstantes zijn niet toegestaan in #if-expressies" + +#: cppexp.c:753 +#, fuzzy +msgid "void expression between '(' and ')'" +msgstr "ongeldige expressie als operand" + +#: cppexp.c:756 +#, fuzzy +msgid "#if with no expression" +msgstr "modi in %s expressie komen niet overeen" + +#: cppexp.c:758 +#, fuzzy, c-format +msgid "operator '%s' has no right operand" +msgstr "iterator `%s' is van een niet-integraal type" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "" + +#: cppexp.c:811 +#, fuzzy +msgid "unbalanced stack in #if" +msgstr "niet-gebalanceerde `#endif'" + +#: cppexp.c:830 +#, fuzzy, c-format +msgid "impossible operator '%u'" +msgstr "incompatibele operands voor %s" + +#: cppexp.c:922 +#, fuzzy +msgid "missing ')' in expression" +msgstr "ontbrekende index-expressie" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "integer-overflow in preprocessor-expressie" + +#: cppexp.c:958 +#, fuzzy +msgid "missing '(' in expression" +msgstr "ontbrekende index-expressie" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +#, fuzzy +msgid "comma operator in operand of #if" +msgstr "comma-operator in operand van `#if'" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "deling door nul in `#if'" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "" + +#: cppfiles.c:480 +#, fuzzy, c-format +msgid "%s is too large" +msgstr "bestand `%s' is te groot" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "Geen include-pad waarin %s kan gevonden worden" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "" + +#: cppinit.c:389 +#, fuzzy +msgid "cppchar_t must be an unsigned type" +msgstr "`defined' zonder een naam" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +#, fuzzy +msgid "null character(s) ignored" +msgstr "%s bij nulkarakter" + +# Wat is een correcte vertaling voor 'identifier'? Ik kies voor 'naam'. +#: cpplex.c:445 +#, fuzzy +msgid "'$' in identifier or number" +msgstr "`$' in naam" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "niet-beëindigde commentaar" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "" + +#: cpplex.c:934 +#, fuzzy +msgid "multi-line comment" +msgstr "'//'-commentaar op meerdere lijnen" + +#: cpplex.c:1198 +#, fuzzy, c-format +msgid "unspellable token %s" +msgstr "kan bestand '%s' niet openen" + +# OK, OK... Dit hoort thuis in lang nl@be, niet nl +#: cpplib.c:218 +#, fuzzy, c-format +msgid "extra tokens at end of #%s directive" +msgstr "brol aan einde van `#line'-commando" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "" + +#: cpplib.c:415 +#, fuzzy, c-format +msgid "invalid preprocessing directive #%s" +msgstr "ongeldig preprocessing-commando" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "" + +# is ongedefinieerd beter? ik denk van nie +#: cpplib.c:537 +#, fuzzy, c-format +msgid "undefining \"%s\"" +msgstr "`%s' wordt geondefinieerd" + +#: cpplib.c:609 +#, fuzzy +msgid "missing terminating > character" +msgstr "niet-beëindigde string- of karakterconstante" + +#: cpplib.c:662 +#, fuzzy, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "`#%s' verwacht \"BESTAND\" of " + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "" + +#: cpplib.c:749 +#, fuzzy, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "`#line'-commando in slecht formaat" + +#: cpplib.c:794 +#, fuzzy, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "switch-waarde is geen integer" + +#: cpplib.c:800 +#, fuzzy +msgid "line number out of range" +msgstr "case-waarde buiten bereik" + +#: cpplib.c:812 cpplib.c:885 +#, fuzzy, c-format +msgid "\"%s\" is not a valid filename" +msgstr "-fPIC is niet geldig met -mcoff" + +#: cpplib.c:847 +#, fuzzy, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "switch-waarde is geen integer" + +#: cpplib.c:947 +#, fuzzy +msgid "invalid #ident directive" +msgstr "`#line'-commando in slecht formaat" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "" + +#: cpplib.c:1178 +#, fuzzy +msgid "#pragma once in main file" +msgstr "`#pragma once' is verouderd" + +#: cpplib.c:1201 +#, fuzzy +msgid "invalid #pragma GCC poison directive" +msgstr "ongeldig preprocessing-commando" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "[kan %s niet vinden]" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "" + +#: cpplib.c:1373 +#, fuzzy +msgid "_Pragma takes a parenthesized string literal" +msgstr "Onbeëindigde stringconstante" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "" + +#: cpplib.c:1456 +#, fuzzy +msgid "#else after #else" +msgstr "`#else' na `#else'" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "" + +#: cpplib.c:1489 +#, fuzzy +msgid "#elif after #else" +msgstr "`#elif' na `#else'" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "" + +#: cpplib.c:1660 +#, fuzzy +msgid "predicate must be an identifier" +msgstr "`defined' zonder een naam" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "" + +#: cppmacro.c:125 cppmacro.c:280 +#, fuzzy, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "ongeldige macronaam" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" + +#: cppmacro.c:514 +#, fuzzy +msgid "ISO C99 requires rest arguments to be used" +msgstr "ANSI C heeft een benoemd argument nodig vóór `...'" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "" + +#: cppmacro.c:635 +#, fuzzy, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "niet-beëindigde parameterlijst in `#define'" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" + +#: cppmacro.c:1241 +#, fuzzy, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "herhaald lid `%s'" + +#: cppmacro.c:1286 +#, fuzzy, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "ongeldig karakter in naam van macro-parameter" + +#: cppmacro.c:1294 +#, fuzzy +msgid "macro parameters must be comma-separated" +msgstr "parameter 2 moet een locatie zijn" + +#: cppmacro.c:1311 +#, fuzzy +msgid "parameter name missing" +msgstr "parameternaam weggelaten" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" + +#: cppmacro.c:1330 +#, fuzzy +msgid "ISO C does not permit named variadic macros" +msgstr "ANSI C staat het gebruik van `varargs.h' niet toe" + +#: cppmacro.c:1339 +#, fuzzy +msgid "missing ')' in macro parameter list" +msgstr "parameternaam ontbreekt uit parameterlijst" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "" + +#: cppmacro.c:1430 +#, fuzzy +msgid "'#' is not followed by a macro parameter" +msgstr "`#' operator wordt niet gevolgd door een naam van een macro-argument" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "" + +#: cppmacro.c:1588 +#, fuzzy, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "macro-argument `%.*s' zou met -traditional string gemaakt worden." + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "label `%s' gebruikt maar niet gedefinieerd" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, c-format +msgid "%s: not used because `%s' is defined" +msgstr "" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "" + +#: cppspec.c:128 +#, fuzzy +msgid "too many input files" +msgstr "Geen invoerbestanden" + +#: cpptrad.c:744 +#, fuzzy, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "niet-beëindigde parameterlijst in `#define'" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "ongeldig karakter in naam van macro-parameter" + +#: line-map.c:218 +#, fuzzy, c-format +msgid "In file included from %s:%u" +msgstr "In bestand ingevoegd door " + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, fuzzy, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" door " + diff --git a/libcpp/po/sv.po b/libcpp/po/sv.po new file mode 100644 index 00000000000..3416d781a33 --- /dev/null +++ b/libcpp/po/sv.po @@ -0,0 +1,820 @@ +# Swedish translation for the GNU CC. +# Copyright (C) 2000 Free Software Foundation, Inc. +# Dennis Björklund , 2000, 2001, 2002. +# +# Kom ihåg att i svenskan så använder vi "" för citat +# och inte '' som det är i originaluttrycken. +# +# Jag har gjort en liten ordlista över uttryck som kan finnas i +# översättningen +# +# http://www.zigo.dhs.org/~dennis/gcc/ +# +# Denna lista är inte komplett men är det någon som vill hjälpa till +# att översätta gcc och har åsikter om hur dessa uttryck skall skrivas +# så ta kontakt så kan vi uppdatera den. +# +# Det mesta av övdersättningen som finns nu kommer från tiden +# innan version 3.0 av gcc. Dessvärre så fungerade aldrig gcc +# med översättningar korrekt då, så den kom inte till användning. +# Jag har överfört de gamla strängarna till dagens version (3.2) +# så det finns en början, men det är mycket kvar. Men vill någon hjälpa +# till så vore det jättebra. Jag kommer översätta en bit då och då +# i mån av tid, men det är en stor fil med komplicerade uttryck så +# det tar en stund att bli klar. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.2\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2002-08-26 12:58+0200\n" +"Last-Translator: Dennis Björklund \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8-bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "traditionell C hanterar inte operatorn unärt plus" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "konveretering från NaN till unsigned int" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +msgid "universal character names are only valid in C++ and C99" +msgstr "" + +#: cppcharset.c:811 +#, fuzzy, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "semantiken för \"\\%c\" varierar med -traditional" + +#: cppcharset.c:837 +#, c-format +msgid "incomplete universal character name %.*s" +msgstr "" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "\"%s\" är inte i början av deklarationen" + +#: cppcharset.c:859 +#, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "" + +#: cppcharset.c:863 +#, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "" + +#: cppcharset.c:898 +#, fuzzy +msgid "converting UCN to source character set" +msgstr "kan inte konvertera till en pekartyp" + +#: cppcharset.c:902 +#, fuzzy +msgid "converting UCN to execution character set" +msgstr "kan inte konvertera till en pekartyp" + +#: cppcharset.c:967 +#, fuzzy +msgid "the meaning of '\\x' is different in traditional C" +msgstr "semantiken för \"\\x\" varierar med -traditional" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "" + +#: cppcharset.c:1098 +#, fuzzy +msgid "the meaning of '\\a' is different in traditional C" +msgstr "semantiken för \"\\a\" varierar med -traditional" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "okänd escape-sekvens \"\\%c\"" + +#: cppcharset.c:1116 +#, fuzzy, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "okänd escape-sekvens \"\\%c\"" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "escape-sekvens ryms ej i ett tecken" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +#, fuzzy +msgid "character constant too long for its type" +msgstr "teckenkonstant för lång" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "flerteckens teckenkonstant" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "tom teckenkonstant" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "kunde inte öppna dump-fil \"%s\"" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "varning: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "internt fel: " + +#: cpperror.c:174 +#, fuzzy +msgid "stdout" +msgstr "struct" + +#: cppexp.c:192 +#, fuzzy +msgid "too many decimal points in number" +msgstr "för många decimalpunker i flyttalskonstant" + +#: cppexp.c:212 +#, fuzzy, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "ogiltigt suffix på heltalskonstant" + +#: cppexp.c:218 +#, fuzzy +msgid "use of C99 hexadecimal floating constant" +msgstr "för många decimalpunker i flyttalskonstant" + +#: cppexp.c:227 +#, fuzzy +msgid "exponent has no digits" +msgstr "numerisk kostant utan siffror" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "" + +#: cppexp.c:240 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "både suffix 'f' och 'l' på flyttalskonstant" + +#: cppexp.c:250 cppexp.c:275 +#, fuzzy, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "traditionell C stödjer inte suffixet 'f'" + +#: cppexp.c:261 +#, fuzzy, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "ogiltigt suffix på heltalskonstant" + +#: cppexp.c:283 +#, fuzzy +msgid "use of C99 long long integer constant" +msgstr "ISO C89 förbjuder long long integer konstanter" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "" + +#: cppexp.c:376 +#, fuzzy +msgid "integer constant is too large for its type" +msgstr "heltalskonstant är större än maximala värdet för sin typ" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "saknar ')' efter \"defined\"" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "" + +#: cppexp.c:531 +#, fuzzy +msgid "floating constant in preprocessor expression" +msgstr "flyttalsspill i uttryck" + +#: cppexp.c:537 +#, fuzzy +msgid "imaginary number in preprocessor expression" +msgstr "ogiltig användning av void-uttryck" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" är inte definierad" + +#: cppexp.c:714 cppexp.c:743 +#, fuzzy, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "saknar mellanrum efter nummer \"%.*s\"" + +#: cppexp.c:734 +#, fuzzy, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "\"%s\" är inte ett giltigt filnamn" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "" + +#: cppexp.c:756 +#, fuzzy +msgid "#if with no expression" +msgstr "#%s utan argument" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "" + +#: cppexp.c:784 +#, fuzzy +msgid " ':' without preceding '?'" +msgstr "syntaxfel vid token \"%s\"" + +#: cppexp.c:811 +#, fuzzy +msgid "unbalanced stack in #if" +msgstr "obalanserad #endif" + +#: cppexp.c:830 +#, fuzzy, c-format +msgid "impossible operator '%u'" +msgstr "saknar mellanrum efter nummer \"%.*s\"" + +#: cppexp.c:922 +#, fuzzy +msgid "missing ')' in expression" +msgstr "heltalsspill i uttryck" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "" + +#: cppexp.c:958 +#, fuzzy +msgid "missing '(' in expression" +msgstr "heltalsspill i uttryck" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s är en blockenhet" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s är för stor" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s är kortare än förväntat" + +#: cppfiles.c:714 +#, c-format +msgid "no include path in which to search for %s" +msgstr "" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "" + +#: cppinit.c:389 +#, fuzzy +msgid "cppchar_t must be an unsigned type" +msgstr "predikat måste vara en identifierare" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "" + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "" + +#: cpplex.c:445 +msgid "'$' in identifier or number" +msgstr "" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "försök att använda förgiftad \"%s\"" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "ej avslutad kommentar" + +#: cpplex.c:927 +#, fuzzy +msgid "C++ style comments are not allowed in ISO C90" +msgstr "C++ kommentarer tillåts inte av ISO C89" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "" + +#: cpplex.c:1198 +#, fuzzy, c-format +msgid "unspellable token %s" +msgstr "kan inte öppna fil \"%s\"" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s är en GCC-utvidgning" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "traditionell C ignorerar #%s dör tecknet # är indenterat" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "" + +#: cpplib.c:365 +#, fuzzy +msgid "style of line directive is a GCC extension" +msgstr "#%s är en GCC-utvidgning" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "saknar avslutande tecken >" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include nästlad för djupt" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "ogiltigt flagga \"%s\" i line-direktiv" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "\"%s\" efter #line är inte ett positivt heltal" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "radnummer utanför möjligt intervall" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" är inte ett giltigt filnamn" + +#: cpplib.c:847 +#, fuzzy, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "\"%s\" efter #line är inte ett positivt heltal" + +#: cpplib.c:947 +#, fuzzy +msgid "invalid #ident directive" +msgstr "ogiltig #indent" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "" + +#: cpplib.c:1030 +#, fuzzy, c-format +msgid "#pragma %s %s is already registered" +msgstr "Klass \"%s\" finns redan" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "#pragma once i huvudfil" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "ogiltigt GCC-direktiv #pragma poison" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "förgiftar existerande makro \"%s\"" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "kan inte hitta källfil %s" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "aktuell fil är äldre än %s" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#else utan #if" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else efter #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#elif utan #if" + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#elif efter #else" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#endif utan #if" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "saknas '(' efter predikat" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "saknas ')' för att avsluta svaret" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "predikatets svar är tomt" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "predikat måste vara en identifierare" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "" + +#: cppmacro.c:125 cppmacro.c:280 +#, fuzzy, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "förgiftar existerande makro \"%s\"" + +#: cppmacro.c:221 +#, fuzzy +msgid "could not determine date and time" +msgstr "Kunde inte öppna datafil %s.\n" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "parameternamn saknas" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "etikett \"%s\" använd men inte definierad" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "\"%s\" är använd men inte definierad" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "för många indatafiler" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "parameternamn saknas i parameterlista" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "I fil inkluderad från %s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +" från %s:%u" + diff --git a/libcpp/po/tr.po b/libcpp/po/tr.po new file mode 100644 index 00000000000..d7f66bf3ac1 --- /dev/null +++ b/libcpp/po/tr.po @@ -0,0 +1,792 @@ +# Turkish translations for gcc messages. +# Copyright (C) 2003 Free Software Foundation, Inc. +# Nilgün Belma Bugüner , 2001, 2002, 2003. +# +msgid "" +msgstr "" +"Project-Id-Version: gcc 3.3.2\n" +"POT-Creation-Date: 2004-02-06 01:34+0000\n" +"PO-Revision-Date: 2003-10-25 11:35+0300\n" +"Last-Translator: Nilgün Belma Bugüner \n" +"Language-Team: Turkish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Report-Msgid-Bugs-To: http://gcc.gnu.org/bugs.html\n" +"X-Generator: KBabel 1.0\n" + +#: cppexp.c:1253 +msgid "traditional C rejects the unary plus operator" +msgstr "geleneksel C tekil artı işlecini dışlar" + +#: cpperror.c:176 +#, c-format +msgid "%s: %s" +msgstr "%s: %s" + +#: cppcharset.c:653 +#, fuzzy, c-format +msgid "conversion from %s to %s not supported by iconv" +msgstr "NaN'dan unsigned int'e dönüşüm" + +#: cppcharset.c:656 +msgid "iconv_open" +msgstr "" + +#. FIXME: should be DL_SORRY +#: cppcharset.c:664 +#, c-format +msgid "no iconv implementation, cannot convert from %s to %s" +msgstr "" + +#: cppcharset.c:808 +#, fuzzy +msgid "universal character names are only valid in C++ and C99" +msgstr "evrensel karakter ismi '\\U%08x' tanıtıcı içinde geçerli değil" + +#: cppcharset.c:811 +#, c-format +msgid "the meaning of '\\%c' is different in traditional C" +msgstr "`\\%c'nin anlamı geleneksel C'de farklıdır" + +#: cppcharset.c:837 +#, fuzzy, c-format +msgid "incomplete universal character name %.*s" +msgstr "evrensel karakter ismi tamamlanmamış" + +#: cppcharset.c:849 +#, fuzzy, c-format +msgid "%.*s is not a valid universal character" +msgstr "`%T::%D' geçerli bir bildirici değil" + +#: cppcharset.c:859 +#, fuzzy, c-format +msgid "universal character %.*s is not valid in an identifier" +msgstr "evrensel karakter ismi '\\U%08x' tanıtıcı içinde geçerli değil" + +#: cppcharset.c:863 +#, fuzzy, c-format +msgid "universal character %.*s is not valid at the start of an identifier" +msgstr "evrensel karakter ismi '\\U%08x' tanıtıcı içinde geçerli değil" + +#: cppcharset.c:898 +#, fuzzy +msgid "converting UCN to source character set" +msgstr "NULL'dan gösterici olmayan türe dönüşüm" + +#: cppcharset.c:902 +#, fuzzy +msgid "converting UCN to execution character set" +msgstr "NULL'dan gösterici olmayan türe dönüşüm" + +#: cppcharset.c:967 +msgid "the meaning of '\\x' is different in traditional C" +msgstr "'\\x'in anlamı geleneksel C'de farklıdır" + +#: cppcharset.c:984 f/lex.c:580 +msgid "\\x used with no following hex digits" +msgstr "\\x izleyen onaltılık rakamlar olmaksızın kullanılmış" + +#: cppcharset.c:991 +msgid "hex escape sequence out of range" +msgstr "onaltılık önceleme dizgesi kapsamdışı" + +#: cppcharset.c:1030 +msgid "octal escape sequence out of range" +msgstr "sekizlik önceleme dizgesi kapsamdışı" + +#: cppcharset.c:1098 +msgid "the meaning of '\\a' is different in traditional C" +msgstr "`\\a'nın anlamı geleneksel C'de farklıdır" + +#: cppcharset.c:1105 +#, c-format +msgid "non-ISO-standard escape sequence, '\\%c'" +msgstr "ISO standardı olmayan önceleme dizgesi, '\\%c'" + +#: cppcharset.c:1113 +#, c-format +msgid "unknown escape sequence '\\%c'" +msgstr "bilinmeyen önceleme dizgesi '\\%c'" + +#: cppcharset.c:1116 +#, c-format +msgid "unknown escape sequence: '\\%03o'" +msgstr "bilinmeyen önceleme dizgesi: '\\%03o'" + +#: cppcharset.c:1122 +#, fuzzy +msgid "converting escape sequence to execution character set" +msgstr "önceleme dizgesi karakter için kapsam dışı" + +#: cppcharset.c:1181 +msgid "converting to execution character set" +msgstr "" + +#: cppcharset.c:1244 cppcharset.c:1307 +msgid "character constant too long for its type" +msgstr "karakter sabiti, türü için çok uzun" + +#: cppcharset.c:1247 +msgid "multi-character character constant" +msgstr "çoklu-karakter karakter sabiti" + +#: cppcharset.c:1339 +msgid "empty character constant" +msgstr "karakter sabit boş" + +#: cppcharset.c:1378 +#, fuzzy, c-format +msgid "failure to convert %s to %s" +msgstr "`%E' den `%T' ye dönüşüm yapılamaz" + +#: cpperror.c:110 diagnostic.def:5 +msgid "warning: " +msgstr "uyarı: " + +#: cpperror.c:112 +msgid "internal error: " +msgstr "iç hata: " + +#: cpperror.c:174 +msgid "stdout" +msgstr "stdÇ" + +#: cppexp.c:192 +msgid "too many decimal points in number" +msgstr "sayı içindeki ondalık nokta sayısı çok fazla" + +#: cppexp.c:212 +#, c-format +msgid "invalid digit \"%c\" in octal constant" +msgstr "sekizlik sabit içindeki \"%c\" geçersiz" + +#: cppexp.c:218 +msgid "use of C99 hexadecimal floating constant" +msgstr "C99 onaltılık gerçel sayı sabit kullanımı" + +#: cppexp.c:227 +msgid "exponent has no digits" +msgstr "üs rakam içermiyor" + +#: cppexp.c:234 +msgid "hexadecimal floating constants require an exponent" +msgstr "onaltılık gerçel sabitler bir üs gerektirir" + +#: cppexp.c:240 +#, c-format +msgid "invalid suffix \"%.*s\" on floating constant" +msgstr "gerçel sabitin \"%.*s\" soneki geçersiz" + +#: cppexp.c:250 cppexp.c:275 +#, c-format +msgid "traditional C rejects the \"%.*s\" suffix" +msgstr "geleneksel C \"%.*s\" sonekini kullanmaz" + +#: cppexp.c:261 +#, c-format +msgid "invalid suffix \"%.*s\" on integer constant" +msgstr "tamsayı sabitte sonek \"%.*s\" soneki geçersiz" + +#: cppexp.c:283 +msgid "use of C99 long long integer constant" +msgstr "ISO C99 long long tamsayı sabitleri yasaklar" + +#: cppexp.c:290 +msgid "imaginary constants are a GCC extension" +msgstr "sanal sabitler bir GCC genişletmesidir" + +#: cppexp.c:376 +msgid "integer constant is too large for its type" +msgstr "tamsayı sabit, türü için oldukça büyük" + +#: cppexp.c:388 +msgid "integer constant is so large that it is unsigned" +msgstr "tamsayı sabit unsigned olarak oldukça büyük" + +#: cppexp.c:470 +msgid "missing ')' after \"defined\"" +msgstr "\"defined\" dan sonra ')' eksik" + +#: cppexp.c:477 +msgid "operator \"defined\" requires an identifier" +msgstr "\"defined\" işleci bir tanımlayıcı gerektirir" + +#: cppexp.c:485 +#, c-format +msgid "(\"%s\" is an alternative token for \"%s\" in C++)" +msgstr "(C++'da \"%s\" \"%s\" için bir alternatif dizgeciktir)" + +#: cppexp.c:495 +msgid "this use of \"defined\" may not be portable" +msgstr "\"defined\" bu kullanımıyla uyarlanabilir olmayabilir" + +#: cppexp.c:531 +msgid "floating constant in preprocessor expression" +msgstr "önişlemci ifadesinde gerçel sayı taşması" + +#: cppexp.c:537 +msgid "imaginary number in preprocessor expression" +msgstr "önişlemci ifadesinde sanal sayı" + +#: cppexp.c:582 +#, c-format +msgid "\"%s\" is not defined" +msgstr "\"%s\" tanımlı değil" + +#: cppexp.c:714 cppexp.c:743 +#, c-format +msgid "missing binary operator before token \"%s\"" +msgstr "\"%s\" dizgeciğinden önceki iki terimli işleç eksik" + +#: cppexp.c:734 +#, c-format +msgid "token \"%s\" is not valid in preprocessor expressions" +msgstr "\"%s\" dizgeciği önişlemci ifadelerinde geçersizdir" + +#: cppexp.c:753 +msgid "void expression between '(' and ')'" +msgstr "'(' ve ')' arasında void ifade" + +#: cppexp.c:756 +msgid "#if with no expression" +msgstr "#if ifadesiz" + +#: cppexp.c:758 +#, c-format +msgid "operator '%s' has no right operand" +msgstr "`%s' işlecinin sağ tarafı yok" + +#: cppexp.c:784 +msgid " ':' without preceding '?'" +msgstr "':' den önce '?' yok" + +#: cppexp.c:811 +msgid "unbalanced stack in #if" +msgstr "#if ifadesinde karşılıksız yığın" + +#: cppexp.c:830 +#, c-format +msgid "impossible operator '%u'" +msgstr "işleç '%u' imkansız" + +#: cppexp.c:922 +msgid "missing ')' in expression" +msgstr "ifadede ')' eksik" + +#: cppexp.c:943 +msgid "'?' without following ':'" +msgstr "'?' dan sonra ':' yok" + +#: cppexp.c:953 +msgid "integer overflow in preprocessor expression" +msgstr "önişlemci ifadesinde tamsayı taşması" + +#: cppexp.c:958 +msgid "missing '(' in expression" +msgstr "ifadede '(' eksik" + +#: cppexp.c:990 +#, c-format +msgid "the left operand of \"%s\" changes sign when promoted" +msgstr "\"%s\"in soldaki terimi yükseltgenirken işaret değiştiriyor" + +#: cppexp.c:995 +#, c-format +msgid "the right operand of \"%s\" changes sign when promoted" +msgstr "\"%s\"in sağdaki terimi yükseltgenirken işaret değiştiriyor" + +#: cppexp.c:1352 +msgid "comma operator in operand of #if" +msgstr "#if'in teriminde virgül" + +#: cppexp.c:1483 +msgid "division by zero in #if" +msgstr "#if içinde sıfırla bölme" + +#: cppfiles.c:375 +msgid "NULL directory in find_file" +msgstr "" + +#: cppfiles.c:402 +msgid "one or more PCH files were found, but they were invalid" +msgstr "" + +#: cppfiles.c:405 +msgid "use -Winvalid-pch for more information" +msgstr "" + +#: cppfiles.c:463 +#, c-format +msgid "%s is a block device" +msgstr "%s bir blok aygıtıdır" + +#: cppfiles.c:480 +#, c-format +msgid "%s is too large" +msgstr "%s çok büyük" + +#: cppfiles.c:515 +#, c-format +msgid "%s is shorter than expected" +msgstr "%s beklenenden daha kısa" + +#: cppfiles.c:714 +#, fuzzy, c-format +msgid "no include path in which to search for %s" +msgstr "%s arama yolunda include dosyaları yok" + +#: cppfiles.c:974 +msgid "Multiple include guards may be useful for:\n" +msgstr "Çoklu include önlemleri aşağıdakiler için kullanışlı olabilir:\n" + +#: cppinit.c:389 +msgid "cppchar_t must be an unsigned type" +msgstr "cppchar_t bir usigned tür olmalı" + +#: cppinit.c:393 +#, c-format +msgid "" +"preprocessor arithmetic has maximum precision of %lu bits; target requires %" +"lu bits" +msgstr "" +"önişlemci aritmetiği %lu bitlik maksimum genişliğe sahip; hedef için %lu bit " +"gerekiyor" + +#: cppinit.c:400 +msgid "CPP arithmetic must be at least as precise as a target int" +msgstr "CPP aritmetiği en azından bir hedef int kadar genişlikte olmalı " + +#: cppinit.c:403 +msgid "target char is less than 8 bits wide" +msgstr "hedef char 8bitlik genişlikten küçük" + +#: cppinit.c:407 +msgid "target wchar_t is narrower than target char" +msgstr "hedef wchar_t hedef char'dan daha dar" + +#: cppinit.c:411 +msgid "target int is narrower than target char" +msgstr "hedef int hedef char'dan daha dar" + +#: cppinit.c:416 +msgid "CPP half-integer narrower than CPP character" +msgstr "CPP half-integer'ı CPP character'dan daha dar" + +#: cppinit.c:420 +#, c-format +msgid "" +"CPP on this host cannot handle wide character constants over %lu bits, but " +"the target requires %lu bits" +msgstr "" +"Bu konaktaki CPP %lu bitten büyük karakter sabitleriyle çalışamaz, hedef ise " +"%lu bit gerektiriyor" + +#: cpplex.c:410 +msgid "null character(s) ignored" +msgstr "null karakter(ler) yoksayıldı" + +#: cpplex.c:445 +#, fuzzy +msgid "'$' in identifier or number" +msgstr "belirteç ya da sayı içinde '$' karakter(ler)i" + +#: cpplex.c:492 +#, c-format +msgid "attempt to use poisoned \"%s\"" +msgstr "zehirli \"%s\" kullanılmaya çalışılıyor" + +#: cpplex.c:500 +msgid "__VA_ARGS__ can only appear in the expansion of a C99 variadic macro" +msgstr "" +"__VA_ARGS__ sadece argümanlarının sayısı değişebilen bir C99 makrosunun " +"genişleme alanında görünebilir" + +#: cpplex.c:596 +msgid "null character(s) preserved in literal" +msgstr "null karakter(ler) sabit içinde saklanmış" + +#: cpplex.c:916 +msgid "unterminated comment" +msgstr "sonlandırılmamış açıklama" + +#: cpplex.c:927 +msgid "C++ style comments are not allowed in ISO C90" +msgstr "C++ tarzı açıklamalara ISO C90'da izin verilmez" + +#: cpplex.c:929 +msgid "(this will be reported only once per input file)" +msgstr "(her girdi dosyasında sadece bir kere raporlanacaktır)" + +#: cpplex.c:934 +msgid "multi-line comment" +msgstr "çok satırlı açıklama" + +#: cpplex.c:1198 +#, c-format +msgid "unspellable token %s" +msgstr "dizgecik %s okunabilir değil" + +#: cpplib.c:218 +#, c-format +msgid "extra tokens at end of #%s directive" +msgstr "#%s yönergesinin sonunda fazladan dizgecikler" + +#: cpplib.c:304 +#, c-format +msgid "#%s is a GCC extension" +msgstr "#%s bir GCC uzantısıdır" + +#: cpplib.c:316 +msgid "suggest not using #elif in traditional C" +msgstr "geleneksel C'de #elif kullanılmıyor varsayılır" + +#: cpplib.c:319 +#, c-format +msgid "traditional C ignores #%s with the # indented" +msgstr "geleneksel C'de girintili # ile #%s yoksayılır" + +#: cpplib.c:323 +#, c-format +msgid "suggest hiding #%s from traditional C with an indented #" +msgstr "" +"geleneksel C'den #%s in saklanması için bir girintili # kullanılmış " +"farzedilir" + +#: cpplib.c:345 +msgid "embedding a directive within macro arguments is not portable" +msgstr "bir yönergenin makro argümanlarla gömülmesi uyarlanabilir değil" + +#: cpplib.c:365 +msgid "style of line directive is a GCC extension" +msgstr "satır yönergesinin tarzı bir GCC özelliğidir" + +#: cpplib.c:415 +#, c-format +msgid "invalid preprocessing directive #%s" +msgstr "önişlem yönergesi #%s geçersiz" + +#: cpplib.c:484 +msgid "\"defined\" cannot be used as a macro name" +msgstr "\"defined\" makro ismi olarak kullanılamaz" + +#: cpplib.c:490 +#, c-format +msgid "\"%s\" cannot be used as a macro name as it is an operator in C++" +msgstr "\"%s\" C++'da bir işleç olduğundan makro ismi olarak kullanılamaz" + +#: cpplib.c:493 +#, c-format +msgid "no macro name given in #%s directive" +msgstr "#%s yönergesinde makro ismi verilmemiş" + +#: cpplib.c:496 +msgid "macro names must be identifiers" +msgstr "makro isimleri tanımlayıcılar olmalı" + +#: cpplib.c:537 +#, c-format +msgid "undefining \"%s\"" +msgstr "tanımsız yapılan \"%s\"" + +#: cpplib.c:609 +msgid "missing terminating > character" +msgstr "sonlandıran > karakteri eksik" + +#: cpplib.c:662 +#, c-format +msgid "#%s expects \"FILENAME\" or " +msgstr "#%s \"DOSYA\" ya da gerektirir" + +#: cpplib.c:685 +msgid "#include nested too deeply" +msgstr "#include iç içeliği çok derin" + +#: cpplib.c:723 +msgid "#include_next in primary source file" +msgstr "birncil kaynak dosyasında #include_next" + +#: cpplib.c:749 +#, c-format +msgid "invalid flag \"%s\" in line directive" +msgstr "satır yönergesinde geçersiz \"%s\" seçeneği" + +#: cpplib.c:794 +#, c-format +msgid "\"%s\" after #line is not a positive integer" +msgstr "#line'dan sonraki \"%s\" bir pozitif tamsayı değil" + +#: cpplib.c:800 +msgid "line number out of range" +msgstr "satır numarası kapsam dışı" + +#: cpplib.c:812 cpplib.c:885 +#, c-format +msgid "\"%s\" is not a valid filename" +msgstr "\"%s\" geçerli bir dosya ismi değil" + +#: cpplib.c:847 +#, c-format +msgid "\"%s\" after # is not a positive integer" +msgstr "#'dan sonraki \"%s\" bir pozitif tamsayı değil" + +#: cpplib.c:947 +msgid "invalid #ident directive" +msgstr "geçersiz #ident yönergesi" + +#: cpplib.c:1027 +#, c-format +msgid "registering \"%s\" as both a pragma and a pragma namespace" +msgstr "\"%s\" hem pragma hem de pragma isim alanı olarak kaydediliyor" + +#: cpplib.c:1030 +#, c-format +msgid "#pragma %s %s is already registered" +msgstr "#pragma %s %s zaten kayıtlı" + +#: cpplib.c:1033 +#, c-format +msgid "#pragma %s is already registered" +msgstr "#pragma %s zaten kayıtlı" + +#: cpplib.c:1178 +msgid "#pragma once in main file" +msgstr "main dosyasında '#pragma once'" + +#: cpplib.c:1201 +msgid "invalid #pragma GCC poison directive" +msgstr "geçersiz #pragma GCC poison yönergesi" + +#: cpplib.c:1210 +#, c-format +msgid "poisoning existing macro \"%s\"" +msgstr "zehirlenen mevcut makro \"%s\"" + +#: cpplib.c:1231 +msgid "#pragma system_header ignored outside include file" +msgstr "başlık dosyasının dışındaki '#pragma system_header' yoksayıldı" + +#: cpplib.c:1255 +#, fuzzy, c-format +msgid "cannot find source file %s" +msgstr "kaynak %s bulunamıyor" + +#: cpplib.c:1259 +#, c-format +msgid "current file is older than %s" +msgstr "mevcut dosya %s den daha eski" + +#: cpplib.c:1373 +msgid "_Pragma takes a parenthesized string literal" +msgstr "_Pragma bir parantezli dizge sabiti alır" + +#: cpplib.c:1451 +msgid "#else without #if" +msgstr "#if siz #else" + +#: cpplib.c:1456 +msgid "#else after #else" +msgstr "#else den sonra #else" + +#: cpplib.c:1484 +msgid "#elif without #if" +msgstr "#if siz #elif " + +#: cpplib.c:1489 +msgid "#elif after #else" +msgstr "#else den sonra #elif" + +#: cpplib.c:1519 +msgid "#endif without #if" +msgstr "#if siz #endif" + +#: cpplib.c:1596 +msgid "missing '(' after predicate" +msgstr "dayanaktan sonra '(' eksik" + +#: cpplib.c:1611 +msgid "missing ')' to complete answer" +msgstr "yanıtı tamamlayacak ')' eksik" + +#: cpplib.c:1631 +msgid "predicate's answer is empty" +msgstr "dayanakların cevabı boş" + +#: cpplib.c:1658 +msgid "assertion without predicate" +msgstr "dayanaksız olumlama" + +#: cpplib.c:1660 +msgid "predicate must be an identifier" +msgstr "dayanak bir tanımlayıcı olmalı" + +#: cpplib.c:1744 +#, c-format +msgid "\"%s\" re-asserted" +msgstr "\"%s\" tekrar olumlanmış" + +#: cppmacro.c:125 cppmacro.c:280 +#, c-format +msgid "invalid built-in macro \"%s\"" +msgstr "geçersiz yerleşik makro \"%s\"" + +#: cppmacro.c:221 +msgid "could not determine date and time" +msgstr "tarih ve saat saptanamadı" + +#: cppmacro.c:393 +msgid "invalid string literal, ignoring final '\\'" +msgstr "geçersiz dizge sabit, son '\\' yoksayılıyor" + +#: cppmacro.c:476 +#, c-format +msgid "pasting \"%s\" and \"%s\" does not give a valid preprocessing token" +msgstr "\"%s\" ve \"%s\" geçişi geçerli bir önişlem dizgeciği vermez" + +#: cppmacro.c:514 +msgid "ISO C99 requires rest arguments to be used" +msgstr "ISO C kalan argümanların kullanılmış olmasını gerektirir" + +#: cppmacro.c:519 +#, c-format +msgid "macro \"%s\" requires %u arguments, but only %u given" +msgstr "makro \"%s\" %u argüman gerektiriyor ama sadece %u argüman verilmiş" + +#: cppmacro.c:524 +#, c-format +msgid "macro \"%s\" passed %u arguments, but takes just %u" +msgstr "makro \"%s\" için %u argüman verilmiş ama tam %u argüman alıyor" + +#: cppmacro.c:635 +#, c-format +msgid "unterminated argument list invoking macro \"%s\"" +msgstr "sonlandırılmamış argüman listesi çağıran makro \"%s\"" + +#: cppmacro.c:738 +#, c-format +msgid "function-like macro \"%s\" must be used with arguments in traditional C" +msgstr "" +"işlev benzeri makro \"%s\" geleneksel C'de argümanlarla kullanılmalıdır" + +#: cppmacro.c:1241 +#, c-format +msgid "duplicate macro parameter \"%s\"" +msgstr "yinelenmiş makro parametresi \"%s\"" + +#: cppmacro.c:1286 +#, c-format +msgid "\"%s\" may not appear in macro parameter list" +msgstr "\"%s\" makro parametre listesinde görünmeyebilir" + +#: cppmacro.c:1294 +msgid "macro parameters must be comma-separated" +msgstr "makro parametreleri virgüllerle ayrılmış olmalı" + +#: cppmacro.c:1311 +msgid "parameter name missing" +msgstr "parametre ismi eksik" + +#: cppmacro.c:1326 +msgid "anonymous variadic macros were introduced in C99" +msgstr "argümanlarının sayısı değişebilen anonim makrolar C99 da tanıtıldı" + +#: cppmacro.c:1330 +msgid "ISO C does not permit named variadic macros" +msgstr "ISO C argümanlarının sayısı değişebilen isimli makrolara izin vermez" + +#: cppmacro.c:1339 +msgid "missing ')' in macro parameter list" +msgstr "makro parametre listesinde ')' eksik" + +#: cppmacro.c:1402 +msgid "ISO C requires whitespace after the macro name" +msgstr "ISO C makro isminden sonra boşluk gerektirir" + +#: cppmacro.c:1430 +msgid "'#' is not followed by a macro parameter" +msgstr "'#' işaretinden sonra bir makro parametresi yok" + +#: cppmacro.c:1449 +msgid "'##' cannot appear at either end of a macro expansion" +msgstr "'##' bir makronun her iki ucunda da görünemez" + +#: cppmacro.c:1588 +#, c-format +msgid "macro argument \"%s\" would be stringified in traditional C" +msgstr "makro argümanı \"%s\" geleneksel C'de dizgelenmiş olmalıydı" + +#: cppmacro.c:1611 +#, c-format +msgid "invalid hash type %d in cpp_macro_definition" +msgstr "cpp_macro_definition içindeki isimli yapı türü %d geçersiz" + +#: cpppch.c:84 cpppch.c:332 cpppch.c:356 cpppch.c:365 cpppch.c:371 +msgid "while writing precompiled header" +msgstr "" + +#: cpppch.c:469 +#, fuzzy, c-format +msgid "%s: not used because `%.*s' not defined" +msgstr "`%s' etiketi tanımsız kullanılmış" + +#: cpppch.c:481 +#, c-format +msgid "%s: not used because `%.*s' defined as `%s' not `%.*s'" +msgstr "" + +#: cpppch.c:522 +#, fuzzy, c-format +msgid "%s: not used because `%s' is defined" +msgstr "`%s' tanımlanmadan kullanılmış" + +#: cpppch.c:535 cpppch.c:724 +msgid "while reading precompiled header" +msgstr "" + +#: cppspec.c:106 +#, c-format +msgid "\"%s\" is not a valid option to the preprocessor" +msgstr "\"%s\" önişlemci için geçerli bir seçenek değil" + +#: cppspec.c:128 +msgid "too many input files" +msgstr "girdi dosyası sayısı çok fazla" + +#: cpptrad.c:744 +#, c-format +msgid "detected recursion whilst expanding macro \"%s\"" +msgstr "makro \"%s\" genişletilirken iç içelik saptandı" + +#: cpptrad.c:911 +#, fuzzy +msgid "syntax error in macro parameter list" +msgstr "parametre isim listesinde sözdizimi hatası" + +#: line-map.c:218 +#, c-format +msgid "In file included from %s:%u" +msgstr "" +"Sırayla bir altındaki dosyada içerilerek:\n" +"\t\t%s:%u" + +#. Translators note: this message is used in conjunction +#. with "In file included from %s:%ld" and some other +#. tricks. We want something like this: +#. +#. | In file included from sys/select.h:123, +#. | from sys/types.h:234, +#. | from userfile.c:31: +#. | bits/select.h:45: +#. +#. with all the "from"s lined up. +#. The trailing comma is at the beginning of this message, +#. and the trailing colon is not translated. +#: line-map.c:236 +#, c-format +msgid "" +",\n" +" from %s:%u" +msgstr "" +",\n" +"\t\t%s:%u" + diff --git a/gcc/hashtable.c b/libcpp/symtab.c similarity index 99% rename from gcc/hashtable.c rename to libcpp/symtab.c index 58f19d055fc..39cecedf72f 100644 --- a/gcc/hashtable.c +++ b/libcpp/symtab.c @@ -21,7 +21,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "config.h" #include "system.h" -#include "hashtable.h" +#include "symtab.h" /* The code below is a specialization of Vladimir Makarov's expandable hash tables (see libiberty/hashtab.c). The abstraction penalty was diff --git a/libcpp/system.h b/libcpp/system.h new file mode 100644 index 00000000000..c43259575a8 --- /dev/null +++ b/libcpp/system.h @@ -0,0 +1,363 @@ +/* Get common system includes and various definitions and declarations based + on autoconf macros. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 + Free Software Foundation, Inc. + +This file is part of libcpp (aka cpplib). + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING. If not, write to the Free +Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ + + +#ifndef LIBCPP_SYSTEM_H +#define LIBCPP_SYSTEM_H + +/* We must include stdarg.h before stdio.h. */ +#include + +#ifdef HAVE_STDDEF_H +# include +#endif + +#include + +/* Define a generic NULL if one hasn't already been defined. */ +#ifndef NULL +#define NULL 0 +#endif + +/* The compiler is not a multi-threaded application and therefore we + do not have to use the locking functions. In fact, using the locking + functions can cause the compiler to be significantly slower under + I/O bound conditions (such as -g -O0 on very large source files). + + HAVE_DECL_PUTC_UNLOCKED actually indicates whether or not the stdio + code is multi-thread safe by default. If it is set to 0, then do + not worry about using the _unlocked functions. + + fputs_unlocked, fwrite_unlocked, and fprintf_unlocked are + extensions and need to be prototyped by hand (since we do not + define _GNU_SOURCE). */ + +#if defined HAVE_DECL_PUTC_UNLOCKED && HAVE_DECL_PUTC_UNLOCKED + +# ifdef HAVE_PUTC_UNLOCKED +# undef putc +# define putc(C, Stream) putc_unlocked (C, Stream) +# endif +# ifdef HAVE_FPUTC_UNLOCKED +# undef fputc +# define fputc(C, Stream) fputc_unlocked (C, Stream) +# endif + +# ifdef HAVE_FPUTS_UNLOCKED +# undef fputs +# define fputs(String, Stream) fputs_unlocked (String, Stream) +# if defined (HAVE_DECL_FPUTS_UNLOCKED) && !HAVE_DECL_FPUTS_UNLOCKED +extern int fputs_unlocked (const char *, FILE *); +# endif +# endif +# ifdef HAVE_FWRITE_UNLOCKED +# undef fwrite +# define fwrite(Ptr, Size, N, Stream) fwrite_unlocked (Ptr, Size, N, Stream) +# if defined (HAVE_DECL_FWRITE_UNLOCKED) && !HAVE_DECL_FWRITE_UNLOCKED +extern int fwrite_unlocked (const void *, size_t, size_t, FILE *); +# endif +# endif +# ifdef HAVE_FPRINTF_UNLOCKED +# undef fprintf +/* We can't use a function-like macro here because we don't know if + we have varargs macros. */ +# define fprintf fprintf_unlocked +# if defined (HAVE_DECL_FPRINTF_UNLOCKED) && !HAVE_DECL_FPRINTF_UNLOCKED +extern int fprintf_unlocked (FILE *, const char *, ...); +# endif +# endif + +#endif + +/* ??? Glibc's fwrite/fread_unlocked macros cause + "warning: signed and unsigned type in conditional expression". */ +#undef fread_unlocked +#undef fwrite_unlocked + +#include +#include + +#if !defined (errno) && defined (HAVE_DECL_ERRNO) && !HAVE_DECL_ERRNO +extern int errno; +#endif + +/* Some of glibc's string inlines cause warnings. Plus we'd rather + rely on (and therefore test) GCC's string builtins. */ +#define __NO_STRING_INLINES + +#ifdef STRING_WITH_STRINGS +# include +# include +#else +# ifdef HAVE_STRING_H +# include +# else +# ifdef HAVE_STRINGS_H +# include +# endif +# endif +#endif + +#ifdef HAVE_STDLIB_H +# include +#endif + +#ifdef HAVE_UNISTD_H +# include +#endif + +#if HAVE_LIMITS_H +# include +#endif + +/* Infrastructure for defining missing _MAX and _MIN macros. Note that + macros defined with these cannot be used in #if. */ + +/* The extra casts work around common compiler bugs. */ +#define INTTYPE_SIGNED(t) (! ((t) 0 < (t) -1)) +/* The outer cast is needed to work around a bug in Cray C 5.0.3.0. + It is necessary at least when t == time_t. */ +#define INTTYPE_MINIMUM(t) ((t) (INTTYPE_SIGNED (t) \ + ? ~ (t) 0 << (sizeof(t) * CHAR_BIT - 1) : (t) 0)) +#define INTTYPE_MAXIMUM(t) ((t) (~ (t) 0 - INTTYPE_MINIMUM (t))) + +/* Use that infrastructure to provide a few constants. */ +#ifndef UCHAR_MAX +# define UCHAR_MAX INTTYPE_MAXIMUM (unsigned char) +#endif + +#ifdef TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# ifdef HAVE_TIME_H +# include +# endif +# endif +#endif + +#ifdef HAVE_FCNTL_H +# include +#else +# ifdef HAVE_SYS_FILE_H +# include +# endif +#endif + +#ifdef HAVE_LOCALE_H +# include +#endif + +#ifdef HAVE_LANGINFO_CODESET +# include +#endif + +#ifndef HAVE_SETLOCALE +# define setlocale(category, locale) (locale) +#endif + +#ifdef ENABLE_NLS +#include +#else +/* Stubs. */ +# undef dgettext +# define dgettext(msgid) (msgid) +#endif + +#ifndef _ +# define _(msgid) dgettext (PACKAGE, msgid) +#endif + +#ifndef N_ +# define N_(msgid) msgid +#endif + +/* Some systems define these in, e.g., param.h. We undefine these names + here to avoid the warnings. We prefer to use our definitions since we + know they are correct. */ + +#undef MIN +#undef MAX +#define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) +#define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) + +/* The HAVE_DECL_* macros are three-state, undefined, 0 or 1. If they + are defined to 0 then we must provide the relevant declaration + here. These checks will be in the undefined state while configure + is running so be careful to test "defined (HAVE_DECL_*)". */ + +#if defined (HAVE_DECL_ABORT) && !HAVE_DECL_ABORT +extern void abort (void); +#endif + +#if HAVE_SYS_STAT_H +# include +#endif + +/* Test if something is a normal file. */ +#ifndef S_ISREG +#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) +#endif + +/* Test if something is a directory. */ +#ifndef S_ISDIR +#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) +#endif + +/* Test if something is a character special file. */ +#ifndef S_ISCHR +#define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR) +#endif + +/* Test if something is a block special file. */ +#ifndef S_ISBLK +#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) +#endif + +/* Test if something is a socket. */ +#ifndef S_ISSOCK +# ifdef S_IFSOCK +# define S_ISSOCK(m) (((m) & S_IFMT) == S_IFSOCK) +# else +# define S_ISSOCK(m) 0 +# endif +#endif + +/* Test if something is a FIFO. */ +#ifndef S_ISFIFO +# ifdef S_IFIFO +# define S_ISFIFO(m) (((m) & S_IFMT) == S_IFIFO) +# else +# define S_ISFIFO(m) 0 +# endif +#endif + +/* Approximate O_NOCTTY and O_BINARY. */ +#ifndef O_NOCTTY +#define O_NOCTTY 0 +#endif +#ifndef O_BINARY +# define O_BINARY 0 +#endif + +/* Filename handling macros. */ +#include "filenames.h" + +/* Get libiberty declarations. */ +#include "libiberty.h" +#include "safe-ctype.h" + +/* 1 if we have C99 designated initializers. */ +#if !defined(HAVE_DESIGNATED_INITIALIZERS) +#define HAVE_DESIGNATED_INITIALIZERS \ + ((GCC_VERSION >= 2007) || (__STDC_VERSION__ >= 199901L)) +#endif + +/* 1 if we have _Bool. */ +#ifndef HAVE__BOOL +# define HAVE__BOOL \ + ((GCC_VERSION >= 3000) || (__STDC_VERSION__ >= 199901L)) +#endif + + +/* Be conservative and only use enum bitfields with GCC. + FIXME: provide a complete autoconf test for buggy enum bitfields. */ + +#if (GCC_VERSION > 2000) +#define ENUM_BITFIELD(TYPE) __extension__ enum TYPE +#else +#define ENUM_BITFIELD(TYPE) unsigned int +#endif + +/* We only use bool bitfields with gcc3. Some supposedly C99 + compilers don't handle them correctly. */ +#if (GCC_VERSION >= 3000) +#define BOOL_BITFIELD _Bool +#else +#define BOOL_BITFIELD unsigned int +#endif + +#ifndef offsetof +#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *) 0)->MEMBER) +#endif + +/* __builtin_expect(A, B) evaluates to A, but notifies the compiler that + the most likely value of A is B. This feature was added at some point + between 2.95 and 3.0. Let's use 3.0 as the lower bound for now. */ +#if (GCC_VERSION < 3000) +#define __builtin_expect(a, b) (a) +#endif + +/* Provide some sort of boolean type. We use stdbool.h if it's + available. This must be after all inclusion of system headers, + as some of them will mess us up. */ +#undef bool +#undef true +#undef false +#undef TRUE +#undef FALSE + +#ifdef HAVE_STDBOOL_H +# include +#else +# if !HAVE__BOOL +typedef char _Bool; +# endif +# define bool _Bool +# define true 1 +# define false 0 +#endif + +#if (GCC_VERSION >= 3000) +#undef calloc +#undef strdup +#undef malloc +#undef realloc + #pragma GCC poison calloc strdup + #pragma GCC poison malloc realloc + +/* Libiberty macros that are no longer used in GCC. */ +#undef ANSI_PROTOTYPES +#undef PTR_CONST +#undef LONG_DOUBLE +#undef VPARAMS +#undef VA_OPEN +#undef VA_FIXEDARG +#undef VA_CLOSE +#undef VA_START + #pragma GCC poison ANSI_PROTOTYPES PTR_CONST LONG_DOUBLE VPARAMS VA_OPEN \ + VA_FIXEDARG VA_CLOSE VA_START + +/* Note: not all uses of the `index' token (e.g. variable names and + structure members) have been eliminated. */ +#undef bcopy +#undef bzero +#undef bcmp +#undef rindex + #pragma GCC poison bcopy bzero bcmp rindex + +#endif /* GCC >= 3.0 */ + +#endif /* ! LIBCPP_SYSTEM_H */ diff --git a/gcc/cpptrad.c b/libcpp/traditional.c similarity index 99% rename from gcc/cpptrad.c rename to libcpp/traditional.c index e2b11cb4115..f4ce9f66e47 100644 --- a/gcc/cpptrad.c +++ b/libcpp/traditional.c @@ -19,7 +19,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "config.h" #include "system.h" #include "cpplib.h" -#include "cpphash.h" +#include "internal.h" /* The replacement text of a function-like macro is stored as a contiguous sequence of aligned blocks, each representing the text diff --git a/gcc/cppucnid.h b/libcpp/ucnid.h similarity index 99% rename from gcc/cppucnid.h rename to libcpp/ucnid.h index 1cac7df0a94..04c9513c537 100644 --- a/gcc/cppucnid.h +++ b/libcpp/ucnid.h @@ -23,8 +23,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ a reproduction of ISO/IEC PDTR 10176. Unfortunately these tables are not identical. */ -#ifndef CPPUCNID_H -#define CPPUCNID_H +#ifndef LIBCPP_UCNID_H +#define LIBCPP_UCNID_H #define C99 1 #define CXX 2 @@ -333,4 +333,4 @@ static const struct ucnrange ucnranges[] = { { 0xffda, 0xffdc, CXX }, }; -#endif /* cppucnid.h */ +#endif /* LIBCPP_UCNID_H */ diff --git a/gcc/cppucnid.pl b/libcpp/ucnid.pl similarity index 100% rename from gcc/cppucnid.pl rename to libcpp/ucnid.pl diff --git a/gcc/cppucnid.tab b/libcpp/ucnid.tab similarity index 98% rename from gcc/cppucnid.tab rename to libcpp/ucnid.tab index 4a7a0f4094c..7cb16e1e5a4 100644 --- a/gcc/cppucnid.tab +++ b/libcpp/ucnid.tab @@ -23,8 +23,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ a reproduction of ISO/IEC PDTR 10176. Unfortunately these tables are not identical. */ -#ifndef CPPUCNID_H -#define CPPUCNID_H +#ifndef LIBCPP_UCNID_H +#define LIBCPP_UCNID_H #define C99 1 #define CXX 2 @@ -40,7 +40,7 @@ static const struct ucnrange ucnranges[] = { [table] }; -#endif /* cppucnid.h */ +#endif /* LIBCPP_UCNID_H */ %% [C99] -- 2.30.2